Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QQuickWindow in 5.12

QQuickWindow in 5.12

Scheduled Pinned Locked Moved Solved General and Desktop
qquickwindowmac os xqt 5.12
22 Posts 4 Posters 4.9k 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.
  • J.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on last edited by
    #12

    Ok, some more updates,

    If I remove the QQuickWidget and run make to generate all needed files, and than add the QQuickWidget and hit compile/run it works.
    BUT if I force a qmake rerun, it failed!

    -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

    but as soon as I need to generate the files a new aka, deleting build folder or forcing a manual qmake, it fails to compile.

    This is frustrating.


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    JKSHJ kshegunovK 2 Replies Last reply
    0
    • J.HilkJ J.Hilk

      Ok, some more updates,

      If I remove the QQuickWidget and run make to generate all needed files, and than add the QQuickWidget and hit compile/run it works.
      BUT if I force a qmake rerun, it failed!

      -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

      but as soon as I need to generate the files a new aka, deleting build folder or forcing a manual qmake, it fails to compile.

      This is frustrating.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #13

      @J.Hilk said in QQuickWindow in 5.12:

      -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

      Very weird.

      Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      J.HilkJ 1 Reply Last reply
      2
      • J.HilkJ J.Hilk

        Ok, some more updates,

        If I remove the QQuickWidget and run make to generate all needed files, and than add the QQuickWidget and hit compile/run it works.
        BUT if I force a qmake rerun, it failed!

        -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

        but as soon as I need to generate the files a new aka, deleting build folder or forcing a manual qmake, it fails to compile.

        This is frustrating.

        kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by
        #14

        @J.Hilk said in QQuickWindow in 5.12:

        This is frustrating.

        I can imagine. Unfortunately I don't see anything really suspicious in the qmake log. Very odd indeed.

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        1
        • JKSHJ JKSH

          @J.Hilk said in QQuickWindow in 5.12:

          -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

          Very weird.

          Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #15

          A general update.

          Over the weekend, I updated QTC and Qt on my private iMac to the latest versions as well.
          The issue with QQuickWidgets is reproducible with that installation of Qt as well as with the one on my MacBook, this seems to be a general problem?

          I took my own advice and contacted Customer Support as well, hopefully Irfan can shed some light on the issue ;-)

          @JKSH said in QQuickWindow in 5.12:

          @J.Hilk said in QQuickWindow in 5.12:

          -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

          Very weird.

          Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)

          Well the diff output is not very large, everything is missing accept the make file, and the difference between those two is:
          0_1545033100596_d273bb30-f663-4e72-b0a1-6f8321728d68-image.png


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          J.HilkJ 1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            A general update.

            Over the weekend, I updated QTC and Qt on my private iMac to the latest versions as well.
            The issue with QQuickWidgets is reproducible with that installation of Qt as well as with the one on my MacBook, this seems to be a general problem?

            I took my own advice and contacted Customer Support as well, hopefully Irfan can shed some light on the issue ;-)

            @JKSH said in QQuickWindow in 5.12:

            @J.Hilk said in QQuickWindow in 5.12:

            -> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine

            Very weird.

            Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)

            Well the diff output is not very large, everything is missing accept the make file, and the difference between those two is:
            0_1545033100596_d273bb30-f663-4e72-b0a1-6f8321728d68-image.png

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #16

            @J.Hilk well I guess it‘s now officially a bug:
            https://bugreports.qt.io/browse/QTBUG-72641

            I‘ll keep this topic open until the bugreport is closed.

            Thanks all for the help in trying to figure it out!


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            kshegunovK 1 Reply Last reply
            1
            • J.HilkJ J.Hilk

              @J.Hilk well I guess it‘s now officially a bug:
              https://bugreports.qt.io/browse/QTBUG-72641

              I‘ll keep this topic open until the bugreport is closed.

              Thanks all for the help in trying to figure it out!

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #17

              Yep, thanks for linking it here as well.

              PS.
              You changed names in the mean time ... very slick ... :)

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              0
              • J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #18

                And rejected as not reproducible, seems like only my 3 macs are effected.

                I give up and stick with 5.11 for the foreseeable future.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Kalileo
                  wrote on last edited by
                  #19

                  I posted a workaround at the bug report QTBUG-72641:

                  1. clean the build folder, especially delete ui_mainwindow.h.

                  2. In Forms/mainwindow.ui change

                  <header>QtQuickWidgets/QQuickWidget</header>
                  

                  to

                  <header>QQuickWidget</header>
                  

                  and rebuild.

                  So go ahead and use Qt 5.12 :)

                  J.HilkJ 1 Reply Last reply
                  6
                  • K Kalileo

                    I posted a workaround at the bug report QTBUG-72641:

                    1. clean the build folder, especially delete ui_mainwindow.h.

                    2. In Forms/mainwindow.ui change

                    <header>QtQuickWidgets/QQuickWidget</header>
                    

                    to

                    <header>QQuickWidget</header>
                    

                    and rebuild.

                    So go ahead and use Qt 5.12 :)

                    J.HilkJ Offline
                    J.HilkJ Offline
                    J.Hilk
                    Moderators
                    wrote on last edited by
                    #20

                    hey @Kalileo thank you very much.

                    It does require an external text editor, because you're not allowed to edit the ui file in xml format from QtC 🙄, but it's a 1 time modefication of the file and it will work for any and all rebuilds.

                    Very nice!


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    K 1 Reply Last reply
                    2
                    • J.HilkJ J.Hilk

                      hey @Kalileo thank you very much.

                      It does require an external text editor, because you're not allowed to edit the ui file in xml format from QtC 🙄, but it's a 1 time modefication of the file and it will work for any and all rebuilds.

                      Very nice!

                      K Offline
                      K Offline
                      Kalileo
                      wrote on last edited by
                      #21

                      @J.Hilk

                      You can also do it within QtCreator:

                      • right click on "mainwindow.ui"
                      • select "Open With" and then "Plain Text Editor"
                      1 Reply Last reply
                      4
                      • J.HilkJ Offline
                        J.HilkJ Offline
                        J.Hilk
                        Moderators
                        wrote on last edited by
                        #22

                        A quick and final update:

                        https://bugreports.qt.io/browse/QTBUG-72641
                        The topic was reopened - in no small part due to @Kalileo I believe ;-) - and the error seems to be found and fixed.

                        The fixed version seems to be the upcoming 5.12.1 and onwards.

                        Thanks everyone for the interest and help in the issue.


                        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                        Q: What's that?
                        A: It's blue light.
                        Q: What does it do?
                        A: It turns blue.

                        1 Reply Last reply
                        2

                        • Login

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