mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-20 17:04:05 +00:00
17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
|
include(../common.pri)
|
||
|
INCLUDEPATH += $$PWD
|
||
|
DEPENDPATH += $$PWD
|
||
|
QT *= network
|
||
|
|
||
|
qtsingleapplication-uselib:!qtsingleapplication-buildlib {
|
||
|
LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME
|
||
|
} else {
|
||
|
SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp
|
||
|
HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h
|
||
|
}
|
||
|
|
||
|
win32 {
|
||
|
contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT
|
||
|
else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT
|
||
|
}
|