diff options
author | Itay Grudev <itay@grudev.com> | 2016-05-27 02:36:12 +0100 |
---|---|---|
committer | Itay Grudev <itay@grudev.com> | 2016-05-27 02:36:12 +0100 |
commit | e29b660adda071c93c118e676a3e322062ac9400 (patch) | |
tree | 53369798ea72b8140410898ca1506953e7a3de8e /README.md | |
parent | SIGBUSS should be signal 10. Fixed comment (diff) | |
download | singleapplication-e29b660adda071c93c118e676a3e322062ac9400.tar.xz |
Distributed a .pri file with the library
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -55,23 +55,10 @@ how: git submodule add git@github.com:itay-grudev/SingleApplication.git singleapplication ``` -Then create a `singleapplication.pri` file with the following contents in your -project root folder: +And include the `singleapplication.pri` file in your `.pro` project file: ```qmake -DEFINES += QAPPLICATION_CLASS=QApplication - -HEADERS += $$PWD/singleapplication/singleapplication.h -SOURCES += $$PWD/singleapplication/singleapplication.cpp -INCLUDEPATH += $$PWD/singleapplication/ - -QT += core network -``` - -And include the `.pri` file in your `.pro` project file: - -```qmake -include(singleapplication.pri) +include(singleapplication/singleapplication.pri) ``` The `Show Up` signal |