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. qt_add_qml_module causes recompile without any changes
Forum Updated to NodeBB v4.3 + New Features

qt_add_qml_module causes recompile without any changes

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 72 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.
  • N Offline
    N Offline
    nxctr
    wrote on last edited by
    #1

    Using qt_add_qml_module causes a recompile even if no changes have been made if it contains C++ files.
    You can try it here:

    cmake -S /opt/Qt/Examples/Qt-6.5.1/bluetooth/heartrate-game -B build
    cmake --build build
    cmake --build build
    

    Remove qt_add_qml_module and it doesn't run (obviously), but it doesn't recompile every QML file even when no changes have been made.
    Does anyone know a workaround? This is making it hard to develop large applications.

    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