Qt World Summit: Register Today!


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