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. Qt5.12.3: C++ signal -> QML slot
Qt 6.11 is out! See what's new in the release blog

Qt5.12.3: C++ signal -> QML slot

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
25 Posts 5 Posters 9.6k Views 1 Watching
  • 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.
  • KroMignonK Offline
    KroMignonK Offline
    KroMignon
    wrote on last edited by
    #15

    @Melle_87 said in Qt5.12.3: C++ signal -> QML slot:

    Maybe in your case it is working because of your Qt5.12.2 version?

    I've got same issue here with Windows XP7 64 and Qt5.12.3 32bit/MSVC2017:

    • when starting in debug (F5) the window stays blue,
    • when starting with "run" (Ctrl+R) the windows becomes red!

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

      Well, I went and installed 5.12.3

      And loe and behold, the background stays blue. And the QML error appears in the console.

      since it works with 5.12.2 I would say this is a bug.

      You should open that bug report you mentioned. The minimal example will help speed that one up as well!

      You should post a link to the ticket, when you have. So others can find and follow it as well!


      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.

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

        Well, I went and installed 5.12.3

        And loe and behold, the background stays blue. And the QML error appears in the console.

        since it works with 5.12.2 I would say this is a bug.

        You should open that bug report you mentioned. The minimal example will help speed that one up as well!

        You should post a link to the ticket, when you have. So others can find and follow it as well!

        M Offline
        M Offline
        Melle_87
        wrote on last edited by Melle_87
        #17

        @J.Hilk:
        I created a bug report.
        link to bug report

        But nevertheless. If someone already has a solution or workaround for this problem I would be glad to know.

        KroMignonK 1 Reply Last reply
        1
        • M Melle_87

          @J.Hilk:
          I created a bug report.
          link to bug report

          But nevertheless. If someone already has a solution or workaround for this problem I would be glad to know.

          KroMignonK Offline
          KroMignonK Offline
          KroMignon
          wrote on last edited by
          #18

          @Melle_87 Very strange, I've cleaned up a little bit the project:

          in pro file

          ...
          #QT += core gui serialport serialbus network sql qml quick widgets dbus multimedia multimediawidgets printsupport
          QT += core gui qml quick widgets printsupport
          ...
          

          in Main.qml

          import QtQuick 2.6
          import QtQuick.Window 2.3
          import QtQuick.Controls 1.4
          import "."
          
          ...
          

          Remove all build direction, rebuild all and now window is always red!?! in Release and Debug.

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          J.HilkJ M 2 Replies Last reply
          0
          • KroMignonK KroMignon

            @Melle_87 Very strange, I've cleaned up a little bit the project:

            in pro file

            ...
            #QT += core gui serialport serialbus network sql qml quick widgets dbus multimedia multimediawidgets printsupport
            QT += core gui qml quick widgets printsupport
            ...
            

            in Main.qml

            import QtQuick 2.6
            import QtQuick.Window 2.3
            import QtQuick.Controls 1.4
            import "."
            
            ...
            

            Remove all build direction, rebuild all and now window is always red!?! in Release and Debug.

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

            @KroMignon
            you must have done more, as simply changing the pro file to only include those, still results in a blue background for me


            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.

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

              @KroMignon
              you must have done more, as simply changing the pro file to only include those, still results in a blue background for me

              KroMignonK Offline
              KroMignonK Offline
              KroMignon
              wrote on last edited by
              #20

              @J.Hilk No, I've recheck with git-diff

              It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

              1 Reply Last reply
              0
              • KroMignonK KroMignon

                @Melle_87 Very strange, I've cleaned up a little bit the project:

                in pro file

                ...
                #QT += core gui serialport serialbus network sql qml quick widgets dbus multimedia multimediawidgets printsupport
                QT += core gui qml quick widgets printsupport
                ...
                

                in Main.qml

                import QtQuick 2.6
                import QtQuick.Window 2.3
                import QtQuick.Controls 1.4
                import "."
                
                ...
                

                Remove all build direction, rebuild all and now window is always red!?! in Release and Debug.

                M Offline
                M Offline
                Melle_87
                wrote on last edited by Melle_87
                #21

                @KroMignon: I also can not confirm this. I changed .pro and Main.qml. But in Debug the window still stays blue and in release it gets red.

                KroMignonK 1 Reply Last reply
                0
                • M Melle_87

                  @KroMignon: I also can not confirm this. I changed .pro and Main.qml. But in Debug the window still stays blue and in release it gets red.

                  KroMignonK Offline
                  KroMignonK Offline
                  KroMignon
                  wrote on last edited by KroMignon
                  #22

                  @Melle_87 @J-Hilk it seems issue has already been reported and fixed in next release 5.12.4
                  QTBUG-75393

                  It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                  M 1 Reply Last reply
                  2
                  • KroMignonK KroMignon

                    @Melle_87 @J-Hilk it seems issue has already been reported and fixed in next release 5.12.4
                    QTBUG-75393

                    M Offline
                    M Offline
                    Melle_87
                    wrote on last edited by
                    #23

                    @KroMignon: Yes. I saw this also. But then I have to go back to 5.12.2. Because I can not wait for Qt5.12.4.

                    KroMignonK 1 Reply Last reply
                    0
                    • M Melle_87

                      @KroMignon: Yes. I saw this also. But then I have to go back to 5.12.2. Because I can not wait for Qt5.12.4.

                      KroMignonK Offline
                      KroMignonK Offline
                      KroMignon
                      wrote on last edited by
                      #24

                      @Melle_87 According to Qt 5.12 release plan, Qt 5.12.4 should be release @ 11.06.2019

                      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                      M 1 Reply Last reply
                      0
                      • KroMignonK KroMignon

                        @Melle_87 According to Qt 5.12 release plan, Qt 5.12.4 should be release @ 11.06.2019

                        M Offline
                        M Offline
                        Melle_87
                        wrote on last edited by
                        #25

                        @KroMignon: Okay. Thanks for that info.

                        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