Unable to right click in the Qt Creator
-
Hello guys, I'm new to Qt stuff. I'm currently trying to make a GUI for a simulation system. The Qt Creator has been working fine in the past few days and suddenly today I can't right click the push button to see the menu to select 'go to slot' but instead, clicking it brings me to xml code view of the UI. I can't even right click the Sidebar in which the Project files exist for me to add new files or do anything. Is there any way for me to solve this ?
-
Hi and welcome
Please state Qt version and OS .
I assume you can right click in other applications and its ONLY Creator that does weird things?
If possible you could rename the current Qt install dir and install Qt again to see if that fixes it.
-
@mrjj
Hello, thanks for responding ! I'm using Qt Creator 3.4.2 Based on Qt 5.5.0 , I'm using Window 7.
Yes I can right click in any other applications , desktop and websites and only Qt creator does this weird thing. Is there any simpler solution since installing was taking hours when i installed it due to slow internet speed. -
@Lazy93
Hi
I was afraid that reinstall was a bad options (or you would already done that)As Far as I know, there is no overall Reset thing.
But you could try to massage it a bit and see if something works:
1: Try go into Tools->Options->Inviro..->General tab and change theme.
2: Move/rename C:\Users\YOURUSERNAME\AppData\Roaming\QtProject to reset settings.
(it forgets also all open projects etc) -
@mrjj
Hello again, thanks for the suggestions but unfortunately both suggestions did not work. There is a funny way to get things kinda back to how it supposed to work. I need to build my code, and after doing that the application output will appear which is the GUI. While the build GUI appear, I can right click the push button and project files like it used to be few days back. However, this problem is not solved since I will need to always alt+ tab to my GUI , and then right click the Qt Creator behind it. -
@Lazy93
Hi
Damn, that would have been to easy. :)Ok that sound very convoluted but pretty strange.
Maybe you could reinstall Qt Creator as its a much smaller standalone download ?
Qt Creator 3.4.2 for Windows (74 MB) (info)
http://download.qt.io/official_releases/qtcreator/3.4/3.4.2/qt-creator-opensource-windows-x86-3.4.2.exe -
@Lazy93
Hi
So re-installing Creator did not even help.?!Hmm. I am sorry. I don't have anymore ideas to fix it.
Last thing. shift+F10 is short key for context menu. If
you press that in Edit->Projects (select a file) , no menu is shown ? -
@Lazy93
Well I agree its a funny bug, also as it makes no sense that right click can fall off"
And that reinstalling Creator did not fix it!?Oh a "fix for design mode"
If you select the object in the "Object|Class" list to the left,
and the does the shift+F10, it does show the right context menu :) -
@mrjj
Hi, yep reinstalling did not fix it . On the other hand, your suggestion of using shift +f10 is great ! As it helps me to proceed with my project now. However, I still don't think I can add [SOLVED] in the title since technically the problem itself is not solved, but rather alternative solution came up. -
I do not think that, this have got anything to do with Qt Creator. I could be because, sometimes windows locks few operation and that gets locked only for specific application.
You may try googling about right click context menu not appearing inside application in generic words..
-
Yeah, but its not actually the context menu as such as it can be open by shortcut key
- its more like the actual right click mouse events that stopped working.
But it does work on say the desktop.
But I agree, seems not to be directly Creator as he ran it over.
- its more like the actual right click mouse events that stopped working.