Cannot switch between header/source using F4 in Qt-Creator



  • Hi

    I cannot switch between the header and source using the F4 key in Qt Creator on Ubuntu. I *can * switch between header and source via the right mouse click context menu, however.

    In general, I am having identical problems with the other function keys. The F1 key, for example, will not bring up the API help.

    Interestingly, the Windows version of Qt Creator works like a champ for all of the function keys - no problems.

    I am using Qt Creator 2.4.1, on Ubuntu 11.04 (64 bit).

    I have looked through Tools->Options , but I can't seem to make any headway.

    Any ideas on what might be going wrong? I did do a search to see if anyone else has had any similar problems and could not find anything, although it is entirely possible that there is something similar that others have experienced.

    Thanks in advance!


  • Moderators

    I used to have some problems once on a virtual machine, but it's understandable there. Have you tried the newest Qt Creator (2.6)?



  • Thank you for the suggestion, but that really isn't an option.
    I do need to find the source of the problem and fix it - you wouldn't happen to know what it is?
    Thanks!


  • Moderators

    Have you double checked that the hot keys haven't been reassigned or removed or anything? And make sure you're not sharing your .pro.user file between different environments/installations.


  • Moderators

    You could check with xev whether the keys are actually passed on to an X-application. Some distributions just use random keys for their own purposes and never pass them on to applications.



  • Thank you mlong and Tobias!

    I've been away, but I will look into your suggestions when I get back - thanks again!



  • I had this issue, and for me the problem was my new keyboard with the F-lock feature.

    http://compusavvy.wordpress.com/2010/01/16/function-keys-acting-funky-suspect-an-f-lock-keyboard/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.