Hi,
My question is, if there is a way to declare a variable in a PRO file, so it is visible in all subproject?
I have a project that has different build options, where different flags to the compiler are passed. I want to have a base PRO file for each of the different builds and in these PRO files to define the different flags.
The horrible alternative is to create different versions of every subproject.
I am also aware that I can pass to QMake a variable that defines which build to execute, but in Qt Creator those are kept in the .user file, which is not under version control and is not share amongst developers.
Bookmarks