Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML apps not runnable using static build up to Qt 5.0.1 release!

QML apps not runnable using static build up to Qt 5.0.1 release!

Scheduled Pinned Locked Moved QML and Qt Quick
24 Posts 12 Posters 14.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Avassen
    wrote on last edited by
    #1

    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-28357

    Today 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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This looks like a good candidate for Qt development Mailing List. Please post there asap.

      I'm afraid your assumption may be right, though.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Avassen
        wrote on last edited by
        #3

        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" ?...

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Avassen
          wrote on last edited by
          #4

          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...

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            You've got a comment yesterday, but indeed not much is going on.

            (Z(:^

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Avassen
              wrote on last edited by
              #6

              Ah, yes, you are right...
              I'll try to be patient

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Which bug report is that?

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  Avassen put the link in the original post. Here it is again: "link":https://bugreports.qt-project.org/browse/QTBUG-28357.

                  (Z(:^

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Avassen
                    wrote on last edited by
                    #9

                    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...

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Avassen
                      wrote on last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DeepWaterOne
                        wrote on last edited by
                        #11

                        and for me! Thanks!

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          Avassen
                          wrote on last edited by
                          #12

                          4 months have passed.... 5.0.1 has been released almost two months ago... There are no any solutions... ((

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            chrisadams
                            wrote on last edited by
                            #13

                            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.

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Avassen
                              wrote on last edited by
                              #14

                              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...

                              1 Reply Last reply
                              0
                              • U Offline
                                U Offline
                                utcenter
                                wrote on last edited by
                                #15

                                [quote author="chrisadams" date="1363592752"]I assume that you're using the commercial license if you're using static linking. If so...[/quote]

                                What if not?

                                1 Reply Last reply
                                0
                                • C Offline
                                  C Offline
                                  chrisadams
                                  wrote on last edited by
                                  #16

                                  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.

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    flint
                                    wrote on last edited by
                                    #17

                                    Any news on this issue? According to the bug tracker, this bug is scheduled for fix in 5.0.2, but I tried 5.0.2-rc1, and it still cannot use QtQuick2 when statically built… :-(

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      Avassen
                                      wrote on last edited by
                                      #18

                                      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

                                      1 Reply Last reply
                                      0
                                      • U Offline
                                        U Offline
                                        utcenter
                                        wrote on last edited by
                                        #19

                                        Don't worry, issues with dozens of votes doesn't seem to be in a rush as well.

                                        1 Reply Last reply
                                        0
                                        • W Offline
                                          W Offline
                                          weiyuemin
                                          wrote on last edited by
                                          #20

                                          Avassen: I have the same issue with you. I voted :)

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved