passing variable assignments to lupdate



  • 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?


  • Lifetime Qt Champion

    Hi,

    What kind of stuff would you like pass to lupdate and what is your purpose exactly ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.