From e6ca20f36ae5e93a8c4941baf2cf36616e09a17d 2016-05-19 18:49:51 From: Oswald Buddenhagen Date: 2016-05-19 18:49:51 Subject: [PATCH] set up relation with c++ module correctly. Change-Id: Iab19363b74b819845d35f418c9f2c95cde94271f Reviewed-by: Miikka Heikkinen Reviewed-by: Tomi Korpipää --- diff --git a/src/chartsqml2/chartsqml2.pro b/src/chartsqml2/chartsqml2.pro index 9603135..445513b 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 {