goldendict-ng/qtsingleapplication/common.pri
Konstantin Isakov 63e99204fc Switch to QtSingleApplication for maintaining single instance running.
This should put an end to all those pidfile-related problems.
2010-11-20 16:43:55 +03:00

7 lines
353 B
Plaintext

infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsingleapplication-uselib
TEMPLATE += fakelib
QTSINGLEAPPLICATION_LIBNAME = $$qtLibraryTarget(QtSolutions_SingleApplication-head)
TEMPLATE -= fakelib
QTSINGLEAPPLICATION_LIBDIR = $$PWD/lib
unix:qtsingleapplication-uselib:!qtsingleapplication-buildlib:QMAKE_RPATHDIR += $$QTSINGLEAPPLICATION_LIBDIR