QML apps not runnable using static build up to Qt 5.0.1 release!
-
I have built Qt 5.0 statically and added it to building "Kit" in QtCreator 2.6 (Qt5 sources were taken from git yesterday, configured with "-debug-and-release -static -opensource -confirm-license -nomake examples -nomake tests -no-icu -opengl desktop -platform win32-msvc2010" and built fully successfull without any errors).
Then i tried to build simple QtQuick 2 "Hello world" project created by QtCreator's wizard and based on QQuickView descendant. Build was successfull (both debug and release).
Running executable shows only narrow horizontal windows header of the application and is not useable.
I created bugreport, full description of the ploblem is there:
https://bugreports.qt-project.org/browse/QTBUG-28357Today i see Qt 5.0 RC is released, but this bugreport is not evaluated and not even commented. And i see that problem is annoying not only me on this and many other forums. Somebody may say something like that "there is no plugin support with Qt static build except listed in the docs" (http://qt-project.org/doc/qt-5.0/qtcore/plugins-howto.html - section "Static plugins").
But "qtquick2plugin" is the core QtQuick plugin of Qt 5!
So in this situation can it be concluded that QtQuick technology and QML totaly unusable with static build of Qt 5.0?!
Can somebody clear the situation please?
-
This looks like a good candidate for Qt development Mailing List. Please post there asap.
I'm afraid your assumption may be right, though.
-
Thanks for suggestion... I have posted it to development@qt-project.org mailing list... They've solved similar problem with "windows" platform plugin statical linking before, now it works good, thanks to them.. Interesting what's the problem with "qtquick2plugin" ?...
-
There is not any feedback or comments for my e-mail, sent to development@qt-project.org mailing list. Also bugreport is not evaluated and not even commented for over week. Total ignoring...
-
You've got a comment yesterday, but indeed not much is going on.
-
Which bug report is that?
-
Avassen put the link in the original post. Here it is again: "link":https://bugreports.qt-project.org/browse/QTBUG-28357.
-
I know that i write about it again and again, but QML and QtQuick.2 is TOTALLY NOT WORKING WITH STATIC QT 5.0 BUILD and it seems to be ignored...
Already two Qt-5-release-candidates has been celebrated, and it was written by Lars Knoll in the blog: "I’d like to invite as many people as possible to give the RC2 a try and report back any issues that you find. If everything goes well, we will hopefully be able to release Qt 5.0.0 final next week!".
This is the "next week", but my bugreport is not evaluated and not even commented by responsible or relevant devs for about 2 weeks. And my message to 'Development' mail-list was not reviewed for approval for 10 days. All in spite of that it's a serious important issue! Strange....
Googling shows that this problem is far from annoying only me. And as for me - i alredy don't hope for resolution, i hope at least for ANY feedback from issue-relevant devs...
Links:
https://bugreports.qt-project.org/browse/QTBUG-28357
http://qt-project.org/forums/viewthread/22566/
http://stackoverflow.com/questions/13591951/module-qtquick-plugin-qtquick2plugin-not-found-in-static-linked-application/13758055#13758055
http://qt-project.org/forums/viewthread/22284
http://www.prog.org.ru/index.php?topic=23639.msg167471;topicseen
....and etc... -
Ah! Just now i see that after the previous post the bugreport was evaluated by Lars Knoll, good news for me! Thank you! :-). https://bugreports.qt-project.org/browse/QTBUG-28357
Now i see that it was at least considered and accepted and may will be fixed in 5.0.1 version. -
and for me! Thanks!
-
I assume that you're using the commercial license if you're using static linking. If so, maybe send an email to Tukka Turunen or another person in Digia, with details of your exact problem. Unfortunately, I don't know much about how static linkage would affect the various plugins to the QML core, to be able to offer any suggestions.
The other possibility is to ping aalpert on #qt-qml freenode as he is maintainer of the QtDeclarative module now.
Cheers,
Chris. -
At the moment i'm trying to test Qt 5 open-source version for my personal testing purposes with simple "Hello World" QML apps.
I look closely to Qt for a long time and i want to convince my company management to migrate to Qt 5 and QtQuick framework from Embarcadero RAD Studio (aka Borland, VCL) purchasing Qt commercial licence for future development. And the only thing that i can't explain to them is impossibility of creating standalone QML-applications, consisting of one executable file as it was possible before with RAD Studio... -
If you're not using the commercial version, all I can suggest is upvoting the bug report, so that it is more likely to get attention quicker than if it wasn't upvoted, and also asking Alan about it on IRC.
If you are intending to use the commercial version, and you are evaluating it with that specific purpose in mind, then I really suggest sending an email to Tukka Turunen with your query, as he is probably the best person to talk to about this matter.
Cheers,
Chris. -
Yes, already Qt 5.1 alpha is available http://blog.qt.digia.com/blog/2013/04/08/qt-5-1-alpha-available/, but it's total silence on this global bug.
I wait for fix very long time too...
May be fix is difficult but there are only 4 votes in the bugreport at the moment and fix-priority is too low for the Devs?Somebody else, who interested in the fix, please vote for it in the bugreport!
https://bugreports.qt-project.org/browse/QTBUG-28357