Update to Qt Creator 4.2.0 / Qt 5.7.1 fails to realize Menu Shortcuts
-
wrote on 5 Jan 2017, 18:10 last edited by
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??
-
Hi,
Can you provide a minimal sample code that shows the change of behaviour ?
-
wrote on 5 Jan 2017, 21:45 last edited by ModelTech 1 May 2017, 21:46
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...
-
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 ?
-
wrote on 5 Jan 2017, 22:14 last edited by ModelTech 1 May 2017, 22:16
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
-
So through the official package ?
-
wrote on 5 Jan 2017, 22:17 last edited by
Yes, I believe so
-
And from which version did you update ? 5.7.0 or older ?
-
wrote on 6 Jan 2017, 07:49 last edited by ModelTech 1 Jun 2017, 07:50
I updated from Qt 5.7.0. Is it possible to easily revert this update?
-
@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. -
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??
wrote on 7 Jan 2017, 03:10 last edited by@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. :)
7/11