Creator reference card

Sidebar Opened files Symbol overview Split button

Sidebar File Modes Alt+0 ⌘+0 toggle left sidebar Ctrl+N ⌘+N new file or project Alt+Shift+0 ⌘+⇧+0 toggle right sidebar Ctrl+O ⌘+O open file or project Alt+M ^+⌥+M bookmarks pane Ctrl+S ⌘+S save current document Alt+O ^+O open documents pane Ctrl+Shift+S ⌘+⇧+S save all documents Alt+X ^+X projects pane Ctrl+W ⌘+W close current file Alt+Y ^+Y file system pane Ctrl+Shift+W ⌘+⇧+W close all files

Editor layout Find & replace Ctrl+E, 0 ^+E, 0 remove current split Ctrl+F ⌘+F find / replace in document Ctrl+E, 1 ^+E, 1 remove all splits Ctrl+Shift+F ⌘+⇧+F open advanced find dialog Ctrl+E, 2 ^+E, 2 split Ctrl+L ⌘+L go to line Target selector Ctrl+E, 3 ^+E, 3 split side by side F3 ⌘+G find next Ctrl+E, 4 ^+E, 4 open in a new window Shift+F3 ⌘+⇧+G find previous Run Ctrl+E, O ^+E, O Ctrl+= ⌘+= Debug go to next split or window replace and find next Build project Ctrl+E, I ^+E, I go to previous split or window Left sidebar button Locator Panes Right sidebar button Code editor Ctrl+I ⌘+I auto-indent selection Mode Locator Text editor Ctrl+/ ⌘+/ (un)comment selection Ctrl+1 ^+1 activate welcome mode Ctrl+K ⌘+K activate locator Ctrl+Z ⌘+Z undo Ctrl+Shift+ ⌘+⇧+R rename symbol Ctrl+2 ^+2 activate edit mode files in any project Ctrl+Shift+Z ⌘+⇧+Z redo Ctrl+< ⌘+< fold block Ctrl+3 ^+3 activate design mode l l line in current document Ctrl+ ⌘+C copy Ctrl+> ⌘+> expand block Ctrl+4 ^+4 activate debug mode m m C++ or QML functions Ctrl+V ⌘+V paste Ctrl+[ ⌘+[ go to block start Ctrl+5 ^+5 activate project mode c c C++ classes Ctrl+Shift+V ⌘+⇧+V paste from clipboard history Ctrl+] ⌘+] got to block end Ctrl+6 ^+6 activate help mode : : C++ classes, enums and Ctrl+X ⌘+X cut Ctrl+{ ⌘+{ go to block start with Esc Esc go back to code editor functions Ctrl+A ⌘+A select all selection Esc, Esc Esc, Esc close all secondary windows . . C++ symbols in current Ctrl+Ins ⌘+Ins copy line Ctrl+} ⌘+} go to block end with in editor mode document Ctrl+Shift+ ⌘+⇧+ move line up selection ? ? help index Ctrl+Shift+ ⌘+⇧+ move line down Ctrl+U ⌘+U select block up f f files in filesystem Ctrl+Alt+ ⌘+⌥+ copy line up Ctrl+Space ^+Space trigger completion Panes o o open documents Ctrl+Alt+ ⌘+⌥+ copy line down Alt+Return ⌥+Return trigger quick fix Alt+1 ⌘+1 toggle issues p p files in current project Ctrl++ ⌘++ increase font size Alt+2 ⌘+2 toggle search results ! ! execute custom commands Ctrl+- ⌘+- decrease font size Alt+3 ⌘+3 toggle application output = = evaluate Code navigation Ctrl+0 ^+0 Alt+4 ⌘+4 toggle compile output reset font size git execute git command F2 F2 follow symbol under cursor Alt+5 ⌘+5 toggle console cm cm build macro Ctrl+Shift+U ⌘+⇧+U find usages Alt+6 ⌘+6 toggle general messages Document navigation Shift+F2 ⇧+F2 switch between function Alt+7 ⌘+7 toggle version control Ctrl+Tab ⌥+⇥ previous document in declaration/definition Alt+8 ⌘+8 toggle test results history F4 F4 switch between Shift+Alt+9 ⌘+⇧+9 maximize output pane Ctrl+Shift+Tab ⌥+⇧+⇥ next document in history header/source F6 F6 next item Shift+F4 Alt+ ⌘+⌥+ go back ⇧+F4 switch between source/form Shift+F6 ⇧+6 previous item Alt+ ⌘+⌥+ go forward

Qt Creator reference card

Build & debug Git Kit setup Ctrl+T ⌘+T open target selector Alt+G, Alt+C ^+G, ^+C commit Step 1 add a Tools > Options > Build & Run > Ctrl+B ⌘+B build current project Alt+G, Alt+D ^+G, ^+D diff current file

Ctrl+Alt+B ⌘+⌥+B build current file Alt+G, Alt+L ^+G, ^+D diff current file Ctrl+Shift+B ⌘+⇧+B build all projects Alt+G, Alt+A ^+G, ^+A stage current file Ctrl+R ⌘+R run Alt+G, Alt+B ^+G, ^+B blame current file F5 ⌘+Y start debugging / continue Alt+G, ^+G, diff current project Alt+Shift+D ^+Shift+D Shift+F5 ⌘+⇧+Y stop debugger Alt+G, Alt+K ^+G, ^+K log current project F9 F8 toggle breakpoint Alt+G, Alt+U ^+G, ^+U undo uncommitted changes Step 2 (optional ) add a debugger Tools > Options > Build & Run > F10 ⌘+⇧+0 step over

F11 ⌘+⇧+I step into Shift+F11 ⌘+⇧+T step out Help Ctrl+F6 ⌘+F6 run to selected function F1 F1 context help Ctrl+F10 ⇧+F8 run to line Ctrl+Shift+/ ^+/ activate search (help mode) Ctrl+Shift+I ^+I activate index (help mode) Step 3 add a Qt version Tools > Options > Build & Run > Qt Versions

C++ editor Ctrl+Shift+T ^+⇧+T open type hierarchy Macros

Ctrl+Shift+I ^+⇧+I open include hierarchy Alt+( ⌘+( start recording macro Ctrl+E, Shift+F2 ^+E, ⇧+F2 open function declaration / Alt+) ⌘+) stop recording macro sdfsdf definition in next split Alt+R ^+R play last macro

Step 4 (optional) add a device Tools > Options > Devices > Devices QML / JS editor Image viewer Ctrl+Shift+Space ^+⌥+Space show toolbar Ctrl+[ ⌘+[ switch background

Ctrl+] ⌘+] switch outline Form Editor Ctrl+= ⌘+= fit to screen sdfsdf Ctrl++ ⌘++ zoom in Ctrl+H ^+⇧+H lay out horizontally Ctrl+- ⌘+- zoom out Step 5 create a new kit Tools > Options > Build & Run > Kits Ctrl+L ^+L lay out vertically Ctrl+0 ^+0 original size use the compiler, debugger, Qt version and device created before Ctrl+G ^+⇧+G lay out in a grid

Ctrl+J ^+J adjust size

Alt+Shift+R ⌥+⇧+R preview

sdfsdf

Bookmarks Ctrl+M ^+M toggle bookmark

Ctrl+. ^+. next bookmark Ctrl+, ^+, previous bookmark

sdfsdf