1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
QT += core network CONFIG += c++11 HEADERS += $$PWD/SingleApplication \ $$PWD/singleapplication.h \ $$PWD/singleapplication_p.h SOURCES += $$PWD/singleapplication.cpp \ $$PWD/singleapplication_p.cpp INCLUDEPATH += $$PWD win32 { msvc:LIBS += Advapi32.lib gcc:LIBS += -ladvapi32 } DISTFILES += \ $$PWD/README.md \ $$PWD/CHANGELOG.md \ $$PWD/Windows.md