mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
moved pri file
This commit is contained in:
@@ -11,7 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|||||||
TARGET = HotkeyTest
|
TARGET = HotkeyTest
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
include(../QHotkey/qhotkey.pri)
|
include(../qhotkey.pri)
|
||||||
|
|
||||||
SOURCES += main.cpp\
|
SOURCES += main.cpp\
|
||||||
hottestwidget.cpp
|
hottestwidget.cpp
|
||||||
|
|||||||
+1
-20
@@ -1,20 +1 @@
|
|||||||
CONFIG += C++11
|
message(The pri file has been moved one directory up! use that one instead)
|
||||||
|
|
||||||
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
|
|
||||||
|
|||||||
+23
@@ -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
|
||||||
Reference in New Issue
Block a user