Home

This documentation is out of date. Please refer to the latest version.

[Previous: Debugging with Qt Creator] [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.

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 the special debugging of Qt objects fails due to data corruption within the debugged objects, you can switch the special debugging off in the Debug menu. This will make the low-level structures visible again.

[Previous: Debugging with Qt Creator] [Qt Creator Manual] [Next: Keyboard Shortcuts]


Copyright © 2008 Nokia  
Qt Creator 1.0.0