fixed library parts

This commit is contained in:
Skycoder42
2017-09-30 22:22:21 +02:00
parent 7d214ac41e
commit c9cfd8fb6f
4 changed files with 16 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
mac: LIBS += -framework Carbon
else:win32: LIBS += -luser32
else:unix {
QT += x11extras
LIBS += -lX11
}
+8 -12
View File
@@ -1,20 +1,16 @@
CONFIG += C++11
HEADERS += $$PWD/QHotkey/qhotkey.h \
PUBLIC_HEADERS += $$PWD/QHotkey/qhotkey.h
HEADERS += $$PUBLIC_HEADERS \
$$PWD/QHotkey/qhotkey_p.h
SOURCES += $$PWD/QHotkey/qhotkey.cpp
mac {
SOURCES += $$PWD/QHotkey/qhotkey_mac.cpp
LIBS += -framework Carbon
} else:win32 {
SOURCES += $$PWD/QHotkey/qhotkey_win.cpp
LIBS += -luser32
} else:unix {
SOURCES += $$PWD/QHotkey/qhotkey_x11.cpp
QT += x11extras
LIBS += -lX11
}
mac: SOURCES += $$PWD/QHotkey/qhotkey_mac.cpp
else:win32: SOURCES += $$PWD/QHotkey/qhotkey_win.cpp
else:unix: SOURCES += $$PWD/QHotkey/qhotkey_x11.cpp
INCLUDEPATH += $$PWD/QHotkey
include($$PWD/qhotkey.prc)
+1 -1
View File
@@ -15,7 +15,7 @@
},
"version": {
"fingerprint": "",
"label": "1.2.0",
"label": "1.2.1",
"revision": ""
},
"webpage": "https://github.com/Skycoder42/QHotkey"
+1 -1
View File
@@ -5,7 +5,7 @@
"file": "LICENSE",
"name": "BSD_3_CLAUSE"
},
"prcFile": "",
"prcFile": "qhotkey.prc",
"priFile": "qhotkey.pri",
"priIncludes": [
],