Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
passing variable assignments to lupdate
mcarter last edited by
qmake has an option to pass variable assignments when processing project files (PREFIX=/opt/Install USE_BUILD_1=1). I make use of this to build my application in various ways, which includes adding/subtracting certain source files.
I would like to use lupdate to generate translation files based on a build but I cannot seem to find a way to pass similar variable assignments to the lupdate tool when it processes the project file. Is this just a limitation of the qt external tools or is there another way to pass that build information along?
What kind of stuff would you like pass to lupdate and what is your purpose exactly ?