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
Forum Updated to NodeBB v4.3 + New Features

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.9k Views 4 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.
  • M Offline
    M Offline
    ModelTech
    wrote on 5 Jan 2017, 18:10 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 7 Jan 2017, 03:10
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 Jan 2017, 21:14 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
      • M Offline
        M Offline
        ModelTech
        wrote on 5 Jan 2017, 21:45 last edited by ModelTech 1 May 2017, 21:46
        #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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 5 Jan 2017, 21:57 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
          • M Offline
            M Offline
            ModelTech
            wrote on 5 Jan 2017, 22:14 last edited by ModelTech 1 May 2017, 22:16
            #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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 5 Jan 2017, 22:16 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
              • M Offline
                M Offline
                ModelTech
                wrote on 5 Jan 2017, 22:17 last edited by
                #7

                Yes, I believe so

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 5 Jan 2017, 22:31 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
                  • M Offline
                    M Offline
                    ModelTech
                    wrote on 6 Jan 2017, 07:49 last edited by ModelTech 1 Jun 2017, 07:50
                    #9

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

                    M 1 Reply Last reply 6 Jan 2017, 07:57
                    0
                    • M ModelTech
                      6 Jan 2017, 07:49

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

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 6 Jan 2017, 07:57 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
                      • M ModelTech
                        5 Jan 2017, 18:10

                        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 7 Jan 2017, 03:10 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

                        7/11

                        5 Jan 2017, 22:17

                        • Login

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