summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-18 12:51:17 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-19 18:49:51 +0000
commite6ca20f36ae5e93a8c4941baf2cf36616e09a17d (patch)
treed58bbe110b62539b0567c54ece20b19ccb342656
parente8a6c9507e8c18498f391e84ff36d9c3f8df0084 (diff)
set up relation with c++ module correctly.
Change-Id: Iab19363b74b819845d35f418c9f2c95cde94271f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
-rw-r--r--src/chartsqml2/chartsqml2.pro7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/chartsqml2/chartsqml2.pro b/src/chartsqml2/chartsqml2.pro
index 9603135d..445513b6 100644
--- a/src/chartsqml2/chartsqml2.pro
+++ b/src/chartsqml2/chartsqml2.pro
@@ -1,10 +1,9 @@
TARGET = qtchartsqml2
+CXX_MODULE = charts
+
QT += qml quick
QT += charts charts-private
-TARGETPATH = QtCharts
-
-IMPORT_VERSION = $$MODULE_VERSION
# Only build qml plugin static if Qt itself is also built static
!contains(QT_CONFIG, static): CONFIG -= static staticlib
@@ -50,8 +49,6 @@ HEADERS += \
OTHER_FILES = qmldir
-CONFIG += no_cxx_module
-
load(qml_plugin)
win32 {