[Previous: Handling External Libraries]
[Qt Creator Manual]
[Next: Keyboard Shortcuts]
Tips and Tricks
Quickly Switching between Modes
You can quickly switch between modes by pressing Ctrl+1, Ctrl+2, and so on.
Keyboard Shortcuts
Qt Creator provides a lot of useful keyboard shortcuts. Some useful shortcuts can be found here.
Running Qt Creator from the Command Line
You can start Qt Creator from a command prompt with the name of an existing session or .pro file by giving the name as argument on the command line.
Show and Hide the Sidebar
You can show and hide the the sidebar in Edit and Debug mode by clicking on the corresponding icon, or by pressing Alt+0 (Mac OS X: Cmd+0).
Display Signals and Slots
If you have an instance of a class that is derived from QObject, and you would like to find all other objects connected to one of your object's slots using Qt's signals and slots mechanism -- you can enable Use Custom Display for Qt Objects feature under the Debug menu.
In the Locals and Watchers view, expand the object's entry and open the slot in the slots subitem. The objects connected to this slot are exposed as children of the slot. This method works with signals too.
Display Low Level Data
If special debugging of Qt objects fails due to data corruption within the debugged objects, you can switch the debugging helpers off in the Debugger -> Debugging Helper options dialog. This will make the low-level structures visible again.
[Previous: Handling External Libraries]
[Qt Creator Manual]
[Next: Keyboard Shortcuts]
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) |
Trademarks |
Qt Creator 1.3.0 |
|