Am Mittwoch, dem 29.01.2025 um 08:54 +0100 schrieb Andrzej Telszewski: > On 28/01/2025 18:46, apoenitz wrote: > > Could you give a few more details about your use case or the > > environment? > > I wanted to make the build dir relative to the project file > (CMakeLists.txt.) > The reason for that is that I wanted to _share_ the .user file among > a > couple of code checkouts in different > directories - but the .user file contained the absolute path for the > build dir. > > I ended up putting dot "." in the build dir and that worked. >
Maybe you want this: https://doc.qt.io/qtcreator/creator-sharing-project-settings.html The build folder can be defined relative to the project file in the shared file We are using a tool which creates standardized kits and another script which creates a .shared file that uses these kits. So every developer get the same kits and project settings. Regards, Jochen -- Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator