Qt 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 ⌘+⇧+R rename symbol Ctrl+2 ^+2 activate edit mode
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 compiler Tools > Options > Build & Run > Compilers 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 > Debuggers 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 Qt Quick 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