[Qt-creator] How to set up project settings (include and lib path and libary files)

Matthias Pospiech matthias.pospiech at gmx.de
Wed Feb 11 11:30:27 CET 2009


In my previous (usually very large Visual Studio based projects)
I set up the following settings.

paths to look for include files. This typically looks like this:

"$(SolutionDir)/include"
"$(SolutionDir)\ui";
include\matthias\qtwidgets;
include/qextserialport;
include/fftw;
include/qwt;
src;
ui;

also I set up the paths for the .lib files

lib/GPIB;
lib/MMC;
lib/qwt/msvc/release;
"$(SolutionDir)/lib";
"$(QTDIR)/lib";lib/fftw/double


as well as the lib files itsself:
MMC413.lib
qextserialport.lib
libfftw3-3.lib
qtmain.lib
QtCore4.lib
QtGui4.lib
qwt5.lib

Also I set up Preprocessor Definitions

WIN32;
NDEBUG;
_WINDOWS;
QT_LARGEFILE_SUPPORT;
QT_NO_DEBUG;
QT_THREAD_SUPPORT;
QWT_DLL;
NOMINMAX;
_CRT_SECURE_NO_WARNINGS

Some of these are not necessary outside Visual Studio, but especially 
QWT_DLL; for qwt libary is necessary.
Where do I set these things inside Qt-Creator?



More information about the Qt-creator-old mailing list