sl@2
|
1 |
TEMPLATE = lib
|
sl@2
|
2 |
TARGET = MiniDisplay
|
sl@2
|
3 |
QT += qml quick
|
sl@2
|
4 |
CONFIG += qt plugin
|
sl@2
|
5 |
|
sl@2
|
6 |
#DESTDIR = ../MiniDisplay
|
sl@2
|
7 |
|
sl@2
|
8 |
# Avoid going to debug/release subdirectory
|
sl@2
|
9 |
# so that our application will see the
|
sl@2
|
10 |
# import path for the MiniDisplay module.
|
sl@2
|
11 |
win32: DESTDIR = ./
|
sl@2
|
12 |
|
sl@2
|
13 |
|
sl@2
|
14 |
TARGET = $$qtLibraryTarget($$TARGET)
|
sl@2
|
15 |
#uri = com.slions.minidisplay
|
sl@2
|
16 |
uri = MiniDisplay
|
sl@2
|
17 |
|
sl@2
|
18 |
# Input
|
sl@2
|
19 |
SOURCES += \
|
sl@2
|
20 |
minidisplay_plugin.cpp \
|
sl@4
|
21 |
minidisplay.cpp \
|
sl@4
|
22 |
BitArray.cpp \
|
sl@4
|
23 |
FutabaVfd.cpp \
|
sl@4
|
24 |
HidDevice.cpp \
|
sl@4
|
25 |
../../../GitHub/hidapi/windows/hid.c
|
sl@2
|
26 |
|
sl@2
|
27 |
HEADERS += \
|
sl@2
|
28 |
minidisplay_plugin.h \
|
sl@4
|
29 |
minidisplay.h \
|
sl@4
|
30 |
BitArray.h \
|
sl@4
|
31 |
FutabaVfd.h \
|
sl@4
|
32 |
HidDevice.h \
|
sl@4
|
33 |
HidReport.h \
|
sl@4
|
34 |
../../../GitHub/hidapi/hidapi/hidapi.h
|
sl@4
|
35 |
|
sl@4
|
36 |
INCLUDEPATH += \
|
sl@4
|
37 |
../../../GitHub/hidapi/hidapi
|
sl@2
|
38 |
|
sl@2
|
39 |
OTHER_FILES = qmldir
|
sl@2
|
40 |
|
sl@2
|
41 |
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
|
sl@2
|
42 |
copy_qmldir.target = $$OUT_PWD/qmldir
|
sl@2
|
43 |
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
|
sl@2
|
44 |
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
|
sl@2
|
45 |
QMAKE_EXTRA_TARGETS += copy_qmldir
|
sl@2
|
46 |
PRE_TARGETDEPS += $$copy_qmldir.target
|
sl@2
|
47 |
}
|
sl@2
|
48 |
|
sl@2
|
49 |
qmldir.files = qmldir
|
sl@2
|
50 |
unix {
|
sl@2
|
51 |
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
|
sl@2
|
52 |
qmldir.path = $$installPath
|
sl@2
|
53 |
target.path = $$installPath
|
sl@2
|
54 |
INSTALLS += target qmldir
|
sl@2
|
55 |
}
|
sl@2
|
56 |
|
sl@4
|
57 |
win32:LIBS += "C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86/setupAPI.lib"
|