PDA

View Full Version : ddinf libraries



giusepped
17th February 2009, 14:24
I would give another chance to QtCreator.
I have some libraries to add to the project.
I added into the source project .pro.
I also added the variable name QWT by using the Project menu.
But when I start the compilation, many errors appear: the compiler do not find the libraries and the include files of the library.
What is that?
(For instance, the library is QT).
With mingw fram the shell, no problem

SamT
20th February 2009, 15:34
I use Qt Creator + Mingw + Qwt.

Here are some lines which I put into my pro file which works fine for me.


VER_MAJ = 5
RELEASE_SUFFIX =
DEBUG_SUFFIX = d
CONFIG(debug, debug|release):SUFFIX_STR = $${DEBUG_SUFFIX}
else:SUFFIX_STR = $${RELEASE_SUFFIX}
QWTLIB = qwt$${SUFFIX_STR}$${VER_MAJ}
win32-g++:LIBS += -L../../qwtlib -l$${QWTLIB}