summaryrefslogtreecommitdiffstats
path: root/basicsuite/qt5-everywhere/demos/shaders/import/import.pro
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/qt5-everywhere/demos/shaders/import/import.pro')
-rw-r--r--basicsuite/qt5-everywhere/demos/shaders/import/import.pro17
1 files changed, 12 insertions, 5 deletions
diff --git a/basicsuite/qt5-everywhere/demos/shaders/import/import.pro b/basicsuite/qt5-everywhere/demos/shaders/import/import.pro
index d72fb60..af51461 100644
--- a/basicsuite/qt5-everywhere/demos/shaders/import/import.pro
+++ b/basicsuite/qt5-everywhere/demos/shaders/import/import.pro
@@ -1,13 +1,20 @@
-CXX_MODULE = qml
+TEMPLATE = lib
+CONFIG += plugin
+
TARGET = shaderreader
-TARGETPATH = ShaderReader
-IMPORT_VERSION = 1.0
-QT += quick
+QT += qml quick
SOURCES = main.cpp \
shaderfilereader.cpp \
HEADERS = shaderfilereader.h \
-load(qml_plugin)
+pluginfiles.files += \
+ qmldir \
+
+B2QT_DEPLOYPATH = /data/user/qt/qmlplugins/ShaderReader
+target.path += $$B2QT_DEPLOYPATH
+pluginfiles.path += $$B2QT_DEPLOYPATH
+
+INSTALLS += target pluginfiles