Qt Creator for Qt Creator is the IDE I recommend for usage when working with Qt code. It is part of Qt itself or can be downloaded separately (to get the latest version).
Here are some important steps I configure after having installed Qt Creator:
Download all definitions via Tools > Options > Text Editor > Generic Highlighter > Download Definitions
Tools > Options > Environment > MIME Types Filter for text/css and in Patterns add ;*.qss
C:\Qt\qch\qch_book_20150808
C:\Qt\qch\qch_book_20150808\cppreference-doc-en-cpp.qch
?std::vector
. Attention: Qt Creator 3.5.0 has a bug that forces you to type slowly or no hits will be displayed. See a Short Demonstration of Qt Locator bug.You might be interested in more help files available at the Qt Creator Documentation Gallery.
Create a batch file with the following contents. You will have to adapt the paths, of course:
@echo off
:: setup Qt, e.g. put qmake into PATH
call C:\Qt\Qt5.5.0\5.5\msvc2013\bin\qtenv2.bat
:: setup Visual Studio 2012 for architecture x86
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
:: add Qt Creator to PATH
set PATH=C:\qt\qtcreator-3.5.0\bin;%PATH%
:: print which binaries will be used
where qmake.exe
where qtcreator.exe
where devenv.exe
:: set text in title bar
title [Qt55] [VS2012] [x86]
if exist P:\projects cd /d P:\projects
Create a Windows shortcut which executes the batch file. Set target to %COMSPEC% /A /Q /K "C:\bin\vs2013_qt_shell.bat"
.
As described in the article Setting Up Debugger on qt.io.
If you are using TortoiseSVN, you can integrate it into Qt Creator’s External Tools and use it to update, commit, blame, … directly from within Qt Creator. TortoiseSVN feels a lot easier to use than the built-in SVN tools.
/command:diff /path:"%{CurrentProject:VcsTopLevelPath}"
/command:diff /path:%{CurrentDocument:FilePath}
/command:commit /path:"%{CurrentProject:VcsTopLevelPath}"
/command:blame /path:%{CurrentDocument:FilePath} /line:%{CurrentDocument:Row}
/command:log /path:"%{CurrentProject:VcsTopLevelPath}"
/command:log /path:%{CurrentDocument:FilePath}