Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
beecksche last edited by beecksche
I want to create the QML cache file in advance. I read the doc http://doc.qt.io/qt-5/qtquick-deployment.html#qml-caching-for-deployment-preview but unfortunately i'm not quite sure how to set up my project.
I have a C++ object (core) and a control it via a QML gui. So i think i have to add the following to my .pro file, but i have no clue what to set to the TARGETPATH variable?
TARGETPATH = MyCompany/CommonComponents <- ??? QML_FILES = main.qml setup.qml popup.qml ... qmldir CONFIG += qmlcache SOURCES = main.cpp ... QT += quick load(qml_plugin)
Thanks for help!