Commit | Line | Data |
---|---|---|
2340bcd3 JVH |
1 | include(../common.pri) |
2 | INCLUDEPATH += $$PWD | |
3 | DEPENDPATH += $$PWD | |
4 | QT *= network | |
5 | ||
6 | qtsingleapplication-uselib:!qtsingleapplication-buildlib { | |
7 | LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME | |
8 | } else { | |
9 | SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp | |
10 | HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h | |
11 | } | |
12 | ||
13 | win32 { | |
14 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT | |
15 | else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT | |
16 | } |