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 {