PDA

View Full Version : QtCreator compiler options



soxs060389
18th November 2009, 22:14
I'd like to add some options to the make command (like -j5) but I can't find it in qtcreator where to set it up.


Qt Creator 1.2.90 based on Qt 4.5.3

BinEditor 1.2.90 Binary editor component.
Bookmarks 1.2.90 Bookmarks in text editors.
CMakeProjectManager 1.2.90 CMake support
CVS 1.2.90 CVS integration.
CodePaster 1.2.90 Codepaster plugin for pushing/fetching diff from server
Core 1.2.90 The core plugin for the Qt IDE.
CppEditor 1.2.90 C/C++ editor component.
CppTools 1.2.90 Tools for analyzing C/C++ code.
Debugger 1.2.90 Debugger integration.
Designer 1.2.90 Qt Designer integration.
DuiEditor 1.2.90 Editor for DUI.
FakeVim 1.2.90 VI-style keyboard navigation.
Find 1.2.90 Provides the find widget and the hooks for find implementations.
GenericProjectManager 1.2.90 Generic support
Help 1.2.90 Help system.
Perforce 1.2.90 Perforce integration.
ProjectExplorer 1.2.90 ProjectExplorer framework that can be extended with different kind of project types.
QmlProjectManager 1.2.90 Qml support
Qt4ProjectManager 1.2.90 Provides project type for Qt 4 pro files and tools.
QtScriptEditor 1.2.90 Editor for QtScript.
QuickOpen 1.2.90 Provides the Locator widget and the hooks for QuickOpen filter implementations.
ResourceEditor 1.2.90 Editor for qrc files.
ScmGit 1.2.90 Git integration.
Subversion 1.2.90 Subversion integration.
TextEditor 1.2.90 Text editor framework and the implementation of the basic text editor.
VCSBase 1.2.90 Version Control System Base Plugin
Welcome 1.2.90 Default Welcome Screen Plugin

(C) 2008-2009 Nokia Corporation

Or is there a way to specify it within the .pro data?
Greets

eekhoorn12
19th November 2009, 19:57
isn't that possible under the "Projects" tab on the left side of the program and then at "Build Settings"

darKoram
2nd December 2011, 00:19
I'm using qt 4.7.4
Yes, click on the projects button on the left panel. If you're doing multi compiler builds you can add a new build and rename it.
A default compiler is there in toolchain. Click "manage". This gives a new window where you can add a new compiler. I tried GCC and then added
/usr/bin/g++-4.4 (previously 4.6)
/usr/bin/gdb (same as before)

I click apply. Now i can select my new GCC config from the menu.

darKoram