2015-01-18 15:13:06 +03:00
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
|
|
|
|
usesystemqtsingleapplication {
|
|
|
|
nogui {
|
|
|
|
CONFIG += qtsinglecoreapplication
|
|
|
|
} else {
|
|
|
|
CONFIG += qtsingleapplication
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
nogui {
|
|
|
|
include(qtsingleapplication/qtsinglecoreapplication.pri)
|
|
|
|
} else {
|
|
|
|
include(qtsingleapplication/qtsingleapplication.pri)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += $$PWD/application.h
|
|
|
|
SOURCES += $$PWD/application.cpp
|
|
|
|
|
|
|
|
unix: HEADERS += $$PWD/stacktrace.h
|
|
|
|
strace_win {
|
|
|
|
HEADERS += $$PWD/stacktrace_win.h
|
|
|
|
!nogui {
|
|
|
|
HEADERS += $$PWD/stacktrace_win_dlg.h
|
|
|
|
FORMS += $$PWD/stacktrace_win_dlg.ui
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SOURCES += $$PWD/main.cpp
|
2015-06-18 10:08:07 +03:00
|
|
|
|
|
|
|
# upgrade code
|
|
|
|
HEADERS += $$PWD/upgrade.h
|