summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2019-04-08 04:06:41 +0300
committerRebecca Worledge <rebecca.worledge@theqtcompany.com>2019-04-09 02:51:30 +0000
commitfec8b7e2e43d3738db736c969758a40cde8fe2ee (patch)
treedf86aa6d2f2ea8e4ab6ef8bed0bfb87bfd6a0364
parent0915ad743c60ec2bb7b0b21b53d6ee059794272b (diff)
Make plugin usable with older Qt
due to bug in older qmake/pbx the plugin name occurrence in the plugin target path was replaced with a suffixed binary name thus making the module unreachable on Darwin Change-Id: Ibeb1d6ae328d5784088933081d014736105cf608 Reviewed-by: Rebecca Worledge <rebecca.worledge@theqtcompany.com>
-rw-r--r--src/imports/imports.pro2
-rw-r--r--src/imports/qmldir3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/imports/imports.pro b/src/imports/imports.pro
index 61a840e..3846efb 100644
--- a/src/imports/imports.pro
+++ b/src/imports/imports.pro
@@ -1,5 +1,5 @@
CXX_MODULE = qtlottie
-TARGET = lottieqt
+TARGET = lottieqtplugin
TARGETPATH = Qt/labs/lottieqt
IMPORT_VERSION = 1.$$QT_MINOR_VERSION
diff --git a/src/imports/qmldir b/src/imports/qmldir
index 8ad0994..a1beae5 100644
--- a/src/imports/qmldir
+++ b/src/imports/qmldir
@@ -1,2 +1,3 @@
module Qt.labs.lottieqt
-plugin lottieqt
+plugin lottieqtplugin
+classname BodymovinPlugin