[Interest] Building Qt 5.5.1 on CentOS 5

2016-03-11 Thread Simon Matthews
I am trying to build Qt 5.5.1 on CentOS 5. I suspect that we don't need linuxfb, but there doesn't seem to be an easy way to skip this. However, I get the following error: /home/simon/rpms/build/qt-everywhere-opensource-src-5.5.1/qtbase/src/plugins/platforms/xcb/gl_integrations gmake[6]:

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-11 Thread Nye
Maybe, you could also create a "feature" for qmake and use it with CONFIG += myfeature. I've used this approach to keep the MPI wrapper compilers' configurations separate from the project files. On Fri, Mar 11, 2016 at 3:44 PM, Roland Winklmeier < roland.m.winklme...@gmail.com> wrote: >

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Nurmi J-P
Hi, We're applying some bug fixes to Qt Quick Controls 1.x, but the development focus has been on the new controls for a good while. The goal is to have the first stable release in Qt 5.7. We still have some important features (such as text selection handles) missing, but it's looking pretty

Re: [Interest] Dangling QSqlTableModel Pointer

2016-03-11 Thread Scott Aron Bloom
If you are relying on the parent/child relationship for your memory management, then you will be clear as long as your “parentObject” has not been deleted. However, if you need your model to live longer than the object, I would use a std::shared_ptr and pass that around. Scott From: Interest

[Interest] Dangling QSqlTableModel Pointer

2016-03-11 Thread Hao Hu
Hi All, When using QSqlTableModel and the QTableView, the API provided (by the documentation ) is: QSqlTableModel *model = new QSqlTableModel

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Ronan Jouchet
On 2016-03-11 11:30, Nurmi J-P wrote: Sorry for a late and short reply. Busy times... :) This forum thread describes the main reason why things are the way they are: http://forum.qt.io/topic/64198/qt-labs-controls-cusomization/4 Thanks for bringing some context. Makes sense. That confirms

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Nurmi J-P
Hi, > On 11 Mar 2016, at 16:42, Ronan Jouchet > wrote: > >> On 2016-03-10 19:09, Nikita Krupenko wrote: >> 2016-03-10 17:19 GMT+02:00 Ronan Jouchet : >>> -> That sounds nice for users wanting total control over the complete

[Interest] [ANNOUNCE] GammaRay 2.4.1

2016-03-11 Thread Allen Winter
Howdy, We just made a bugfix release for GammaRay 2.4. Changes in Version 2.4.1: * Fix exponential resource leak in recursive property editor. * Fix QtQuick item tree view readability with dark color schemes. * Fix rendering glitch in QtQuick item tree view. * Fix selection not working on

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Jérôme Godbout
Sorry don't want to hijack the thread, but I just watched the video, that's a great news that Qt is heading that way, we have many styles created and it's painful to maintain and size them properly in every case. I'm super happy about that feature coming. Is this will replace the full Controls

Re: [Interest] Dynamic translations for mobile apps at runtime?

2016-03-11 Thread Jason H
Ooops. I concretely missed the `virtual`. > Sent: Friday, March 11, 2016 at 11:15 AM > From: "Julien Cugnière" > To: "Jason H" > Cc: "interest@qt-project.org Interest" > Subject: Re: [Interest] Dynamic translations for mobile

Re: [Interest] Dynamic translations for mobile apps at runtime?

2016-03-11 Thread Julien Cugnière
QTranslator::translate is virtual. Its documentation even says "If you need to programatically insert translations into a QTranslator, this function can be reimplemented." :-) So you can create a QTranslator based class that returns translations from your own list if the QM file found nothing.

Re: [Interest] Dynamic translations for mobile apps at runtime?

2016-03-11 Thread Jason H
So we had a great thread about "dynamic translations" Its in and working well. (Thanks everyone) And while I have a slick update procedure for adding dictionaries at run time, I am wondering about adding translation strings at runtime? Here's what's happening: - App is in a language (Now, can

[Interest] Can I access dynamic properties defined in C++ into QML ?

2016-03-11 Thread Gian Maxera
Hello, If I set a dynamic properties from C++: void CloudModel::setPropertiesFromJson( QJsonObject json ) { foreach( QString key, json.keys() ) { QJsonValue value = json[key]; setProperty( key.toLatin1(), value.toVariant() ); then, I cannot access any of

Re: [Interest] [Qt Labs Controls 5.6] Customization recommendations

2016-03-11 Thread Ronan Jouchet
On 2016-03-10 19:09, Nikita Krupenko wrote: 2016-03-10 17:19 GMT+02:00 Ronan Jouchet : -> That sounds nice for users wanting total control over the complete style. But suppose instead I'm mostly happy with Material and only want to *override some

Re: [Interest] QML Promises

2016-03-11 Thread Jason H
Nice. Thank you. Sent: Thursday, March 10, 2016 at 5:41 PM From: "Gunnar Roth" To: "Jason H" Cc: "interest@qt-project.org" Subject: Re: [Interest] QML Promises Maybe have a look here https://github.com/benlau/quickpromise  

Re: [Interest] How to create local mkspec for gcc5 compiler

2016-03-11 Thread Roland Winklmeier
2016-03-10 14:50 GMT+01:00 Thiago Macieira : > On quinta-feira, 10 de março de 2016 12:43:30 PST Roland Winklmeier wrote: > > Dear list, > > > > I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but > > also offers gcc5 as parallel installation. Since

Re: [Interest] Qt3D face culling

2016-03-11 Thread Sean Harmer
Hi, well the QForwardRenderer framegraph is not really designed to be modified but you should just be able to use QObject::findChild(). If you need deeper customisation of the framegraph, it's preferable to write your own one. Of course you can use QForwardRenderer

Re: [Interest] Qt3D face culling

2016-03-11 Thread Юрий Дынников
Thank you, Sean. I've managed to disable face-culling by putting QStateSet under QClearBuffer, but to get there, I had to write a piece of horrible code: https://gist.github.com/morodeer/974cb4ddd47c1f1f8b34#file-main-cpp Qt3DCore::QNode* clearBuffer_node = 0; foreach (Qt3DCore::QNode*

Re: [Interest] Building 5.6.0 doesnt generate/copy cmake files for QWebEngine

2016-03-11 Thread Koehne Kai
> -Original Message- > From: Scott Aron Bloom [mailto:sc...@towel42.com] > [...] > I guess I forgot to mention, I am on CentOS.. > [...] > Once I got that squared away, I did hit a syntax error... I attached the log > file, any ideas? This looks like