Variable path name
Unsolved
General and Desktop
-
A problem we bumped into when coding a .pri file was that we needed a file included in the Inno Setup folder whilst some of us used different versions of Inno Setup. We have been hardcoding the path to the Inno Setup (which includes the version number in the name) but wonder if there is a way to enable the file to pick the correct name so that when downloading future releases of Inno Setup we don't have to manually go back into the code and change it every time.
-
If I got it right, you're after some logic in qmake that selects a file in a path that contains some (unknown version). You could try https://doc.qt.io/qt-5/qmake-function-reference.html#files-pattern-recursive-false for that?