summaryrefslogtreecommitdiff
path: root/src/shared/qtsingleapplication/qtsingleapplication.pri
blob: c807763dce01e2aa6d987b302bd75a1afa3a2f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
INCLUDEPATH	+= $$PWD
DEPENDPATH      += $$PWD
HEADERS		+= $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h
SOURCES		+= $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp

QT *= network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

gotqtlockedfile = $$find(HEADERS, .*qtlockedfile.h)
isEmpty(gotqtlockedfile):include(../qtlockedfile/qtlockedfile.pri)


win32:contains(TEMPLATE, lib):contains(CONFIG, shared) {
    DEFINES += QT_QTSINGLEAPPLICATION_EXPORT=__declspec(dllexport)
}