Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Caching
Forum Updated to NodeBB v4.3 + New Features

QML Caching

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 907 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • beeckscheB Offline
    beeckscheB Offline
    beecksche
    wrote on last edited by beecksche
    #1

    Hi,
    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!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved