moved pri file

This commit is contained in:
Skycoder42
2016-12-04 16:20:51 +01:00
parent 1a5798587c
commit 5cc4b7bf2d
3 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = HotkeyTest
TEMPLATE = app
include(../QHotkey/qhotkey.pri)
include(../qhotkey.pri)
SOURCES += main.cpp\
hottestwidget.cpp
+1 -20
View File
@@ -1,20 +1 @@
CONFIG += C++11
HEADERS += $$PWD/qhotkey.h \
$$PWD/qhotkey_p.h
SOURCES += $$PWD/qhotkey.cpp
mac {
SOURCES += $$PWD/qhotkey_mac.cpp
LIBS += -framework Carbon
} else:win32 {
SOURCES += $$PWD/qhotkey_win.cpp
LIBS += -lUser32
} else:unix {
SOURCES += $$PWD/qhotkey_x11.cpp
QT += x11extras
LIBS += -lX11
}
INCLUDEPATH += $$PWD
message(The pri file has been moved one directory up! use that one instead)
+23
View File
@@ -0,0 +1,23 @@
CONFIG += C++11
HEADERS += $$PWD/QHotkey/qhotkey.h \
$$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
}
INCLUDEPATH += $$PWD/QHotkey
DISTFILES += \
$$PWD/QHotkey/qhotkey.pri