34 lines
831 B
Prolog
34 lines
831 B
Prolog
|
|
TEMPLATE = app
|
||
|
|
CONFIG += qt debug
|
||
|
|
CONFIG -= app_bundle
|
||
|
|
QT += gui network
|
||
|
|
SOURCES += crashreporter.cpp
|
||
|
|
INTERFACES += crashreporter.ui
|
||
|
|
include($$PWD/mailmsg/mailmsg.pri)
|
||
|
|
|
||
|
|
include(/users/mblsha/src/psi-git/qa/oldtest/unittest.pri)
|
||
|
|
|
||
|
|
mac {
|
||
|
|
QMAKE_POST_LINK = rm -f ../test/test.app/Contents/Resources/crashreporter; mkdir -p ../test/test.app/Contents/Resources; cp crashreporter ../test/test.app/Contents/Resources
|
||
|
|
}
|
||
|
|
|
||
|
|
win32 {
|
||
|
|
QMAKE_POST_LINK = del /Q ..\test\release\crashreporter.exe && copy release\crashreporter.exe ..\test\release\crashreporter.exe
|
||
|
|
}
|
||
|
|
|
||
|
|
windows {
|
||
|
|
# otherwise we would get 'unresolved external _WinMainCRTStartup'
|
||
|
|
# when compiling with MSVC
|
||
|
|
MOC_DIR = _moc
|
||
|
|
OBJECTS_DIR = _obj
|
||
|
|
UI_DIR = _ui
|
||
|
|
RCC_DIR = _rcc
|
||
|
|
}
|
||
|
|
!windows {
|
||
|
|
MOC_DIR = .moc
|
||
|
|
OBJECTS_DIR = .obj
|
||
|
|
UI_DIR = .ui
|
||
|
|
RCC_DIR = .rcc
|
||
|
|
}
|
||
|
|
|