Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Change qmlcachegen output path in qmake project



  • I'm using CONFIG += qtquickcompiler and it generates cpp files for every qml file i have. It just dumps that cpp file into the working directory. I'd like to have all that generated stuff dumped into a subdir so it doesn't muddy up my root dir.

    I know there's OBJECT_DIR and RCC_DIR and MOC_DIR, but none of these have an affect on qmlcachegen.

    Is there an option that works?


Log in to reply