sl@2: TEMPLATE = lib sl@2: TARGET = MiniDisplay sl@2: QT += qml quick sl@2: CONFIG += qt plugin sl@2: sl@2: #DESTDIR = ../MiniDisplay sl@2: sl@2: # Avoid going to debug/release subdirectory sl@2: # so that our application will see the sl@2: # import path for the MiniDisplay module. sl@2: win32: DESTDIR = ./ sl@2: sl@2: sl@2: TARGET = $$qtLibraryTarget($$TARGET) sl@2: #uri = com.slions.minidisplay sl@2: uri = MiniDisplay sl@2: sl@2: # Input sl@2: SOURCES += \ sl@2: minidisplay_plugin.cpp \ sl@4: minidisplay.cpp \ sl@4: BitArray.cpp \ sl@4: FutabaVfd.cpp \ sl@4: HidDevice.cpp \ sl@4: ../../../GitHub/hidapi/windows/hid.c sl@2: sl@2: HEADERS += \ sl@2: minidisplay_plugin.h \ sl@4: minidisplay.h \ sl@4: BitArray.h \ sl@4: FutabaVfd.h \ sl@4: HidDevice.h \ sl@4: HidReport.h \ sl@4: ../../../GitHub/hidapi/hidapi/hidapi.h sl@4: sl@4: INCLUDEPATH += \ sl@4: ../../../GitHub/hidapi/hidapi sl@2: sl@2: OTHER_FILES = qmldir sl@2: sl@2: !equals(_PRO_FILE_PWD_, $$OUT_PWD) { sl@2: copy_qmldir.target = $$OUT_PWD/qmldir sl@2: copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir sl@2: copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\" sl@2: QMAKE_EXTRA_TARGETS += copy_qmldir sl@2: PRE_TARGETDEPS += $$copy_qmldir.target sl@2: } sl@2: sl@2: qmldir.files = qmldir sl@2: unix { sl@2: installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /) sl@2: qmldir.path = $$installPath sl@2: target.path = $$installPath sl@2: INSTALLS += target qmldir sl@2: } sl@2: sl@4: win32:LIBS += "C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86/setupAPI.lib"