[Development] Visual Studio generator "autogen"
Scott Bloom
scott at towel42.com
Thu Apr 9 00:44:19 CEST 2026
When I use AUTO functionality for qt and cmake, it generates additional targets, that tend to clutter the IDE solution.
I always run with
set_property( GLOBAL PROPERTY USE_FOLDERS ON )
I also set the folder property on all my targets.
I am able to "folderize" most of the Qt generated targets by running a simple function as the last deferred function call for my main CMakeLists.txt
However, there are some targets that appear to not be actual targets (custom targets? Etc) where you cant set the folder property on them.
I can find and put in a folder the <TARGET>_json_extraction & qt_internal_plugins but not <TARGET>_autogen
First, doesn't anyone know how to set the folder property on the autogen targets?
Second, what do people think about adding a "QT_GENERATED_TARGETS_FOLDER" into the Qt cmake flow, so this is done automatically?
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20260408/d0f532b0/attachment.htm>
More information about the Development
mailing list