- Qt 6.8
- Qt Core
- CMake Global Properties in Qt6 Core
- QT_TARGETS_FOLDER
- Qt 6.8.1 Reference Documentation

# QT_TARGETS_FOLDER

This property was introduced in Qt 6.5.

Note: This property is in technology preview and may change in future releases.

Name of the FOLDER for internal targets that are added by Qt's CMake commands.

By default, this property is not set.

This property only has an effect if CMake's USE_FOLDERS property is `ON`.

You can use the qt_standard_project_setup function to enable folder support and initialize the `QT_TARGETS_FOLDER`.

See also qt_standard_project_setup.