Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread Knoll Lars
I tend to agree. Sounds like a bug to me. Cheers, Lars On 19/09/14 14:37, BogDan bog_dan...@yahoo.com wrote: Hello folks, Singletons registered using qmlRegisterSingletonType, are deleted *before* the other active objects. I consider it to be wrong because some of the active objects may

Re: [Development] Requesting removal of qtjsondb

2014-09-22 Thread Knoll Lars
Yes, that repo is dead, and I don’t see it coming alive again. Let’s remove it from qt5.git, mark the repo with an abandoned comment and maybe commit something into it’s top level directory stating the same. As far as I remember it’s not too much work to move it to a different location in gerrit.

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread Hausmann Simon
Hi, In gener‎al I agree with Chris. However I'm a little puzzled that this is happening. If you take a look at the QQmlEngine destructor you can see that singletons are deleted last. So I'm wondering what is happening in your app Bogdan. Can you create a minimal test case? Thanks, Simon Fra:

Re: [Development] Nominating Venugopal Shivashankar and Nico Vertriest as approvers

2014-09-22 Thread Rutledge Shawn
Den 16 Sep 2014 kl. 9:31 AM skrev Reinio Topi: I'd like to nominate Venugopal Shivashankar and Nico Vertriest as approvers in the Qt Project. They are both documentation engineers and integral part of the of Qt documentation team. Venugopal Shivashankar:

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread BogDan
Hi Simon, I took a look and I'm pretty sure I'm right ;-). BTW I'm using 5.4 branch (sha1 f9ee33f96), is a little bit old, but I bet nobody fixed it. The same problem is in previous releases. So, the singletons are deleted in QQmlEngine::~QQmlEngine():910 The other active objects are deleted

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread Simon Hausmann
On Monday 22. September 2014 01.19.17 BogDan wrote: Hi Simon, I took a look and I'm pretty sure I'm right ;-). BTW I'm using 5.4 branch (sha1 f9ee33f96), is a little bit old, but I bet nobody fixed it. The same problem is in previous releases. So, the singletons are deleted in

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread BogDan
On Monday 22. September 2014 01.19.17 BogDan wrote: Hi Simon, I took a look and I'm pretty sure I'm right ;-). BTW I'm using 5.4 branch (sha1 f9ee33f96), is a little bit old, but I bet nobody fixed it. The same problem is in previous releases. So, the singletons are deleted in

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread Simon Hausmann
On Monday 22. September 2014 01.33.14 BogDan wrote: On Monday 22. September 2014 01.19.17 BogDan wrote: Hi Simon, I took a look and I'm pretty sure I'm right ;-). BTW I'm using 5.4 branch (sha1 f9ee33f96), is a little bit old, but I bet nobody fixed it. The same problem is in previous

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread BogDan
- Original Message - From: Simon Hausmann simon.hausm...@digia.com To: BogDan bog_dan...@yahoo.com Cc: Chris Adams chris.ad...@qinetic.com.au; Qt Development Group development@qt-project.org Sent: Monday, September 22, 2014 11:56 AM Subject: Re: SV: [Development] [QML] Singletons are

Re: [Development] Important OSX 10.9.5 10.10 codesign changes

2014-09-22 Thread Sorvig Morten
And the Info.plist should *always* set CFBundleExecutable to QtCore. To use the debug version you set the DYLD_IMAGE_SUFFIX environment variable to _debug prior to execution. A minor case: What would you do for debug-only builds? As far as I'm aware, we already do this correctly (aside

Re: [Development] Important OSX 10.9.5 10.10 codesign changes

2014-09-22 Thread Sorvig Morten
On 19 Sep 2014, at 11:28, Sorvig Morten morten.sor...@digia.com wrote: This will indeed receive attention in the coming days. There are already some patches attached to the QTBUGs. I’ll post back here once we have a complete patch set ready. Target branches are Qt 5.3 and Qt 4.8. I’m

Re: [Development] Important OSX 10.9.5 10.10 codesign changes

2014-09-22 Thread Adam Strzelecki
qmake - framework bundle hierarchy (QTBUG-32895): https://codereview.qt-project.org/95454 qmake - “_debug in CFBundleExecutable (QTBUG-32894): https://codereview.qt-project.org/95455 qmake - add CFBundleVersion: https://codereview.qt-project.org/95456 macdeployqt - “Current” version

Re: [Development] [QML] Singletons are deleted before the other objects

2014-09-22 Thread Jonathan Liu
On 19/09/2014 10:37 PM, BogDan wrote: Hello folks, Singletons registered using qmlRegisterSingletonType, are deleted *before* the other active objects. I consider it to be wrong because some of the active objects may still need to access the singletons in their destructor ... IMHO

Re: [Development] Important OSX 10.9.5 10.10 codesign changes

2014-09-22 Thread Jake Petroules
On 2014-09-22, at 05:56 AM, Sorvig Morten morten.sor...@digia.com wrote: And the Info.plist should *always* set CFBundleExecutable to QtCore. To use the debug version you set the DYLD_IMAGE_SUFFIX environment variable to _debug prior to execution. A minor case: What would you do for

Re: [Development] Important OSX 10.9.5 10.10 codesign changes

2014-09-22 Thread Jake Petroules
On 2014-09-22, at 06:33 AM, Adam Strzelecki o...@java.pl wrote: qmake - framework bundle hierarchy (QTBUG-32895): https://codereview.qt-project.org/95454 qmake - “_debug in CFBundleExecutable (QTBUG-32894): https://codereview.qt-project.org/95455 qmake - add CFBundleVersion: