2009-03-01 08:38:21 +01:00
|
|
|
TEMPLATE = app
|
2010-02-27 18:23:54 +01:00
|
|
|
TARGET = gui
|
2009-06-22 10:57:17 +02:00
|
|
|
QT += xml
|
2010-08-20 21:25:43 +02:00
|
|
|
CONFIG += warn_on help
|
2010-07-27 16:39:33 +02:00
|
|
|
DEPENDPATH += . \
|
|
|
|
../lib
|
|
|
|
INCLUDEPATH += . \
|
|
|
|
../lib
|
2010-02-27 18:23:54 +01:00
|
|
|
|
|
|
|
DESTDIR = .
|
2009-07-14 15:18:34 +02:00
|
|
|
RCC_DIR = temp
|
2009-03-01 08:38:21 +01:00
|
|
|
MOC_DIR = temp
|
|
|
|
OBJECTS_DIR = temp
|
2009-09-04 20:59:25 +02:00
|
|
|
UI_DIR = temp
|
2010-02-27 18:23:54 +01:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
DESTDIR = ..\Build\gui
|
|
|
|
RCC_DIR = ..\BuildTmp\gui
|
|
|
|
MOC_DIR = ..\BuildTmp\gui
|
|
|
|
OBJECTS_DIR = ..\BuildTmp\gui
|
|
|
|
UI_DIR = ..\BuildTmp\gui
|
|
|
|
}
|
|
|
|
|
2009-05-28 10:32:32 +02:00
|
|
|
RESOURCES = gui.qrc
|
2009-07-02 10:32:29 +02:00
|
|
|
FORMS = main.ui \
|
2010-02-27 18:26:13 +01:00
|
|
|
resultsview.ui \
|
|
|
|
application.ui \
|
|
|
|
settings.ui \
|
|
|
|
file.ui \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfile.ui \
|
2010-07-16 16:48:13 +02:00
|
|
|
about.ui \
|
2010-08-20 21:25:43 +02:00
|
|
|
logview.ui \
|
2010-09-01 08:12:24 +02:00
|
|
|
helpwindow.ui \
|
|
|
|
stats.ui
|
2010-02-27 18:26:13 +01:00
|
|
|
|
2009-07-02 10:32:29 +02:00
|
|
|
TRANSLATIONS = cppcheck_fi.ts \
|
2009-10-01 17:55:13 +02:00
|
|
|
cppcheck_nl.ts \
|
2010-02-27 18:26:13 +01:00
|
|
|
cppcheck_en.ts \
|
|
|
|
cppcheck_se.ts \
|
|
|
|
cppcheck_de.ts \
|
|
|
|
cppcheck_pl.ts \
|
|
|
|
cppcheck_ru.ts
|
2009-05-30 19:49:17 +02:00
|
|
|
|
|
|
|
# Windows-specific options
|
|
|
|
CONFIG += embed_manifest_exe
|
2009-03-01 08:38:21 +01:00
|
|
|
|
2009-10-25 19:29:10 +01:00
|
|
|
include($$PWD/../lib/lib.pri)
|
2009-09-04 20:59:25 +02:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
checkthread.h \
|
|
|
|
resultsview.h \
|
|
|
|
resultstree.h \
|
|
|
|
settingsdialog.h \
|
|
|
|
threadresult.h \
|
|
|
|
threadhandler.h \
|
|
|
|
applicationlist.h \
|
|
|
|
applicationdialog.h \
|
|
|
|
aboutdialog.h \
|
|
|
|
common.h \
|
2010-07-10 19:30:31 +02:00
|
|
|
erroritem.h \
|
2009-09-04 20:59:25 +02:00
|
|
|
fileviewdialog.h \
|
2010-07-12 19:21:45 +02:00
|
|
|
project.h \
|
2009-09-04 20:59:25 +02:00
|
|
|
projectfile.h \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfiledialog.h \
|
2009-09-04 20:59:25 +02:00
|
|
|
report.h \
|
|
|
|
txtreport.h \
|
|
|
|
xmlreport.h \
|
|
|
|
translationhandler.h \
|
2010-07-16 16:48:13 +02:00
|
|
|
csvreport.h \
|
2010-08-09 21:15:05 +02:00
|
|
|
logview.h \
|
2010-08-20 21:25:43 +02:00
|
|
|
filelist.h \
|
2010-09-01 08:12:24 +02:00
|
|
|
helpwindow.h \
|
|
|
|
statsdialog.h
|
2010-07-16 16:48:13 +02:00
|
|
|
|
2009-09-04 20:59:25 +02:00
|
|
|
SOURCES += main.cpp \
|
|
|
|
mainwindow.cpp\
|
|
|
|
checkthread.cpp \
|
|
|
|
resultsview.cpp \
|
|
|
|
resultstree.cpp \
|
|
|
|
threadresult.cpp \
|
|
|
|
threadhandler.cpp \
|
|
|
|
settingsdialog.cpp \
|
|
|
|
applicationlist.cpp \
|
|
|
|
applicationdialog.cpp \
|
|
|
|
aboutdialog.cpp \
|
|
|
|
fileviewdialog.cpp \
|
2010-07-12 19:21:45 +02:00
|
|
|
project.cpp \
|
2009-09-04 20:59:25 +02:00
|
|
|
projectfile.cpp \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfiledialog.cpp \
|
2010-07-11 00:04:53 +02:00
|
|
|
erroritem.cpp \
|
2009-09-04 20:59:25 +02:00
|
|
|
report.cpp \
|
|
|
|
txtreport.cpp \
|
|
|
|
xmlreport.cpp \
|
|
|
|
translationhandler.cpp \
|
2010-07-16 16:48:13 +02:00
|
|
|
csvreport.cpp \
|
2010-08-09 21:15:05 +02:00
|
|
|
logview.cpp \
|
2010-08-20 21:25:43 +02:00
|
|
|
filelist.cpp \
|
2010-09-01 08:12:24 +02:00
|
|
|
helpwindow.cpp \
|
|
|
|
statsdialog.cpp
|
2009-06-13 22:14:09 +02:00
|
|
|
|
|
|
|
win32 {
|
2010-07-27 16:34:13 +02:00
|
|
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
2010-02-27 18:26:13 +01:00
|
|
|
RC_FILE = cppcheck-gui.rc
|
|
|
|
HEADERS += ../cli/resource.h
|
2010-08-19 18:21:42 +02:00
|
|
|
LIBS += -lshlwapi
|
2009-06-13 22:14:09 +02:00
|
|
|
}
|
2009-09-04 20:59:25 +02:00
|
|
|
|