Qt Creator keyboard shortcuts

You don't like stopping coding just for reaching mouse? You can be sure these Qt shortcuts will make your C++ coding time more enjoyable.

Qt Creator
Ctrl + O

Open file or project

Ctrl + N

New file or project

Alt + V then Alt + I

Open in external editor

Ctrl + A

Select all

Del

Delete

Ctrl + X

Cut

Ctrl + C

Copy

Ctrl + V

Paste

Ctrl + Y

Redo

Ctrl + P

Print

Ctrl + S

Save

Ctrl + ↑   Shift + S

Save all

Ctrl + W

Close window

Ctrl + ↑   Shift + W

Close all

Ctrl + F4

Close current file

Alt +

Go back

Alt +

Go forward

Ctrl + L

Go to line

Ctrl + ↑   Shift + ⭾ Tab

Next open document in history

Ctrl + E then O

Go to other split

Ctrl + ⭾ Tab

Previous open document in history

Ctrl + K

Activate Locator

Ctrl + 1

Switch to Welcome mode

Ctrl + 2

Switch to Edit mode

Ctrl + 3

Switch to Design mode

Ctrl + 4

Switch to Debug mode

Ctrl + 5

Switch to Projects mode

Ctrl + 6

Switch to Help mode

Alt + 1

Toggle Issues pane

Alt + 2

Toggle Search Results pane

Alt + 3

Toggle Application Output pane

Alt + 4

Toggle Compile Output pane

Alt + Num 0 - Num 9

Toggle other output panes

Alt + M

Activate Bookmarks pane

Alt + Y

Activate File System pane

Alt + O

Activate Open Documents pane

Alt + 9

Maximize output panes

F6

Move to next item in output panes

↑   Shift + F6

Move to previous item in output panes

Alt + X

Activate Projects pane

Ctrl + ↑   Shift + F11

Full screen

Alt + 0

Toggle the sidebar

Ctrl + Z

Undo

Esc

Move to Edit mode. First press moves focus to the editor. Second press closes secondary windows

Ctrl + Q

Exit Qt Creator

Advertisement
Ctrl + I

Auto-indent selection

Ctrl + <

Collapse

Ctrl + >

Expand

Ctrl + Space

Trigger a completion in this scope

Ctrl + Insert

Copy line

Ctrl + Alt +

Copy line down

Ctrl + Alt +

Copy line up

Ctrl + ↑   Shift + V

Paste from the clipboard history (Subsequent presses move you back in the history)

↑   Shift + Del

Cut line

Ctrl + J

Join lines

Ctrl + ↑   Shift + ⤶ Enter

Insert line above current line

Ctrl + ⤶ Enter

Insert line below current line

Ctrl + Mouse wheel down

Decrease font size

Ctrl + Mouse wheel up

Increase font size

Ctrl + 0

Reset font size

Alt + V then Alt + V

Toggle Vim-style editing

Ctrl + E then 2

Split

Ctrl + E then 3

Split side by side

Ctrl + E then 1

Remove all splits

Ctrl + E then 0

Remove current split

Ctrl + A

Select all

Ctrl + ]

Go to block end

Ctrl + [

Go to block start

Ctrl + ↑   Shift + ]

Go to block end and select the lines between the current cursor position and the end of the block

Ctrl + ↑   Shift + [

Go to block start and select the lines between the current cursor position and the beginning of the block

Ctrl + U

Select the current block (The second press extends the selection to the parent block. To enable this behavior, select Tools> Options > Text Editor > Behavior > Enable smart selection changing)

Ctrl + Alt + ↑   Shift + U

Undo the latest smart block selection

Ctrl + ↑   Shift +

Move current line down

Ctrl + ↑   Shift +

Move current line up

Alt + ⤶ Enter

Trigger a refactoring action in this scope

Ctrl + E then R

Rewrap paragraph

Ctrl + E then Ctrl + W

Enable text wrapping

Ctrl + /

Toggle comment for selection

Ctrl + E then Ctrl + V

Visualize whitespace

Ctrl + J

Adjust size

Ctrl + G

Lay out in a grid

Ctrl + H

Lay out horizontally

Ctrl + L

Lay out vertically

Alt + ↑   Shift + R

Preview

F4

Edit signals and slots

Ctrl + M

Toggle bookmark

Ctrl + .

Go to next bookmark

Ctrl + then Go

to previous bookmark

Alt + C then Alt + F

Fetch snippet

Alt + C then Alt + P

Paste snippet

Ctrl + ↑   Shift + U

Find usages

F2

Follow symbol under cursor (Works with namespaces, classes, functions, variables, include statements and macros)

Ctrl + ↑   Shift + R

Rename symbol under cursor

↑   Shift + F2

Switch between function declaration and definition

Ctrl + ↑   Shift + T

Open type hierarchy

F4

Switch between header and source file

Alt + U

Turn selected text into lowercase

Alt + ↑   Shift + U

Turn selected text into uppercase

Ctrl + ↑   Shift + C

Run static checks on JavaScript code to find common problems

Ctrl + F

Find and replace

F3

Find next

↑   Shift + F3

Find previous

Ctrl + F3

Find next occurrence of selected text

Ctrl + ↑   Shift + F3

Find previous occurrence of selected text

Ctrl + =

Replace next

Ctrl + ↑   Shift + F

Open advanced find

Alt + (

Record a text-editing macro

Alt + )

Stop recording a macro

Alt + R

Play last macro

Ctrl + Alt + Space

Show Qt Quick toolbars

Alt + V then 1 - 9

(use the number of the user action) Execute user actions in FakeVim mode

Ctrl + [

Switch to background

Ctrl + ]

Switch to outline

Ctrl + + Zoom

in

Ctrl + +

Zoom out

Ctrl + =

Fit to screen

Ctrl + 0

Original size

F2

Open the QML file that defines the selected component

F4

Move between Text Editor and Form Editor

Ctrl + Alt + 0

Toggle left sidebar

Ctrl + Alt + ↑   Shift + 0

Toggle right sidebar

Advertisement
F5

Start or continue debugging

↑   Shift + F5

Exit debugger

F10

Step over

F11

Step into

↑   Shift + F11

Step out

F9

Toggle breakpoint

Ctrl + F6

Run to selected function

Ctrl + F10

Run to line

F12

Reverse direction

Ctrl + B

Build project

Ctrl + ↑   Shift + B

Build all

Ctrl + ↑   Shift + N

New project

Ctrl + ↑   Shift + O

Open project

Ctrl + T

Select the kit to build and run your project with

Ctrl + R

Run

Advertisement
F1

View context-sensitive help

Ctrl + T

Activate contents in Help mode

Ctrl + M

Add bookmark in Help mode

Ctrl + I

Activate index in Help mode

Ctrl + 0

Reset font size

Ctrl + S

Activate search in Help mode

Advertisement

Share this page on:

Program information

Program name: Qt Creator (Developer tools)

Qt Creator is a integrated development environment (IDE) for C++, JavaScript and QML. It is part of the SDK for Qt GUI application development framework. On Linux and FreeBSD, Qt uses compiler from GNU Compiler Collection. On Windows, it can use MinGW or MSVC.

Web page: https://www.qt.io


Similar programs


  1. Fortnite (PC)Fortnite (PC)
    18137    2
  2. SketchUpSketchUp
    13113   
  3. PlayerUnknown's BattlegPlayerUnknown's Battleg
    11409    2
  4. Keyboard symbolsKeyboard symbols
    8485   
  5. AMD Radeon ReLiveAMD Radeon ReLive
    7694    2
  6. Total CommanderTotal Commander
    7303   
More keyboard shortcuts...

Advertisement

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite Qt Creator hotkey? Do you have any useful tips for program? Let other users know below.