Don't force debug builds in qmake project files.
When creating makefiles with qmake one needs to give the target in command line. E.g. $ qmake -config debug or $ qmake -config release For Visual studio projects both targets are generated by just running the qmake command without switches.
This commit is contained in:
parent
d16d19e580
commit
ec40b4c628
|
@ -10,7 +10,7 @@ INCLUDEPATH += .
|
|||
RCC_DIR = temp
|
||||
MOC_DIR = temp
|
||||
OBJECTS_DIR = temp
|
||||
CONFIG += warn_on debug
|
||||
CONFIG += warn_on
|
||||
RESOURCES = gui.qrc
|
||||
FORMS = main.ui \
|
||||
resultsview.ui \
|
||||
|
|
|
@ -18,9 +18,14 @@ Compiling
|
|||
The Makefile works under Linux.
|
||||
To make it work under Windows with DJGPP, change "g++" to "gxx".
|
||||
|
||||
To build cppcheck with qmake, run the commands:
|
||||
cd src
|
||||
qmake -config release (or '-config debug' if doing developer build)
|
||||
make
|
||||
|
||||
To compile the GUI one needs Qt development libraries and issue the following commands:
|
||||
cd gui
|
||||
qmake
|
||||
qmake -config release (or '-config debug' if doing developer build)
|
||||
lrelease gui.pro
|
||||
make
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ TARGET = cppcheck
|
|||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = temp
|
||||
CONFIG += warn_on debug
|
||||
CONFIG += warn_on
|
||||
QT -= gui core
|
||||
|
||||
# Input
|
||||
|
|
Loading…
Reference in New Issue