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. Update to Qt Creator 4.2.0 / Qt 5.7.1 fails to realize Menu Shortcuts
QtWS25 Last Chance

Update to Qt Creator 4.2.0 / Qt 5.7.1 fails to realize Menu Shortcuts

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 1.8k 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.
  • ModelTechM Offline
    ModelTechM Offline
    ModelTech
    wrote on last edited by
    #1

    I have just updated to Qt Creator 4.2.0 with Qt 5.7.1 using GCC 4.9.1 on Ubuntu. Previously my shortcut buttons in the QMenu of the QMainWindow worked perfectly fine. But since the update, these shortcuts no longer trigger the actions. I didn't change anything to my code. Do other people have similar experiences??

    A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you provide a minimal sample code that shows the change of behaviour ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ModelTechM Offline
        ModelTechM Offline
        ModelTech
        wrote on last edited by ModelTech
        #3

        I have no idea what code to share as I didn't change anything. In fact, I did some experimenting on other machines with older versions as listed below and there the very same code works perfectly. It really is caused by updating Qt Creator...

        Qt Creator 4.03 with Qt 5.7.0 (CLang 7.0, 64bit)
        Qt Creator 4.03 with Qt 5.7.0 (GCC 4.9.1, 64bit)
        Qt Creator 3.5.1 with Qt5.5.1 (MSVC 2013, 32bit)

        Perhaps interesting to observe is that after this update of Qt Creator, the menu bar is no longer located at my application's main window but at the general menu bar of Ubuntu (like on Mac). Nevertheless, nothing changed in my code...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Something a simple as a minimal QMainWindow initialisation that works correctly with what you consider your old version of Qt and that doesn't work with your new version.

          Just to be sure: did you upgrade Qt through the online installer or did you change from your distribution provided Qt to the official package version ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • ModelTechM Offline
            ModelTechM Offline
            ModelTech
            wrote on last edited by ModelTech
            #5

            I updated based on a pop-up that appeared when I started Qt Creator this evening. So, it was the "MaintenanceTool" that comes with the installation of Qt Creator

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              So through the official package ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • ModelTechM Offline
                ModelTechM Offline
                ModelTech
                wrote on last edited by
                #7

                Yes, I believe so

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  And from which version did you update ? 5.7.0 or older ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • ModelTechM Offline
                    ModelTechM Offline
                    ModelTech
                    wrote on last edited by ModelTech
                    #9

                    I updated from Qt 5.7.0. Is it possible to easily revert this update?

                    mrjjM 1 Reply Last reply
                    0
                    • ModelTechM ModelTech

                      I updated from Qt 5.7.0. Is it possible to easily revert this update?

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @ModelTech
                      Hi
                      As far as i know you cannot revert as such but
                      what i normally do for such test is just to rename the Qt folder for that version i wish to downgrade. Then install the wanted version. after i simply delete the new and rename the original back.
                      This is on windows however, so your mileage will vary.

                      1 Reply Last reply
                      0
                      • ModelTechM ModelTech

                        I have just updated to Qt Creator 4.2.0 with Qt 5.7.1 using GCC 4.9.1 on Ubuntu. Previously my shortcut buttons in the QMenu of the QMainWindow worked perfectly fine. But since the update, these shortcuts no longer trigger the actions. I didn't change anything to my code. Do other people have similar experiences??

                        A Offline
                        A Offline
                        ambershark
                        wrote on last edited by
                        #11

                        @ModelTech said in Update to Qt Creator 4.2.0 / Qt 5.7.1 fails to realize Menu Shortcuts:

                        I have just updated to Qt Creator 4.2.0 with Qt 5.7.1 using GCC 4.9.1 on Ubuntu. Previously my shortcut buttons in the QMenu of the QMainWindow worked perfectly fine. But since the update, these shortcuts no longer trigger the actions. I didn't change anything to my code. Do other people have similar experiences??

                        Someone else just posted this same problem a few minutes ago when he upgraded from 5.7 to 5.71 under linux. I'm guessing it's an actual bug then with 5.7.1 and should be reported.

                        Easy enough to test, build with 5.7.0 and if it works then it's more than likely a bug. :)

                        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                        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