MiniDisplay/minidisplay.pro
author sl
Thu, 29 May 2014 19:46:57 +0200
changeset 18 79801cc3bc94
parent 2 780ee91f4ffb
permissions -rw-r--r--
Restoring some of our on-screen functionality for debug purposes.
We could prove that updating a single pixel is much faster than updating our
whole screen. Single pixel updates runs at full 24 FPS.
     1 TEMPLATE = lib
     2 TARGET = MiniDisplay
     3 QT += qml quick
     4 CONFIG += qt plugin
     5 
     6 #DESTDIR = ../MiniDisplay
     7 
     8 # Avoid going to debug/release subdirectory
     9 # so that our application will see the
    10 # import path for the MiniDisplay module.
    11 win32: DESTDIR = ./
    12 
    13 
    14 TARGET = $$qtLibraryTarget($$TARGET)
    15 #uri = com.slions.minidisplay
    16 uri = MiniDisplay
    17 
    18 # Input
    19 SOURCES += \
    20     minidisplay_plugin.cpp \
    21     minidisplay.cpp \
    22     BitArray.cpp \
    23     FutabaVfd.cpp \
    24     HidDevice.cpp \
    25     ../../../GitHub/hidapi/windows/hid.c
    26 
    27 HEADERS += \
    28     minidisplay_plugin.h \
    29     minidisplay.h \
    30     BitArray.h \
    31     FutabaVfd.h \
    32     HidDevice.h \
    33     HidReport.h \
    34     ../../../GitHub/hidapi/hidapi/hidapi.h
    35 
    36 INCLUDEPATH += \
    37 ../../../GitHub/hidapi/hidapi
    38 
    39 OTHER_FILES = qmldir
    40 
    41 !equals(_PRO_FILE_PWD_, $$OUT_PWD) {
    42     copy_qmldir.target = $$OUT_PWD/qmldir
    43     copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
    44     copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
    45     QMAKE_EXTRA_TARGETS += copy_qmldir
    46     PRE_TARGETDEPS += $$copy_qmldir.target
    47 }
    48 
    49 qmldir.files = qmldir
    50 unix {
    51     installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
    52     qmldir.path = $$installPath
    53     target.path = $$installPath
    54     INSTALLS += target qmldir
    55 }
    56 
    57 win32:LIBS += "C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86/setupAPI.lib"