Qt World Summit: Submit your Presentation

Build the project according settings in .pro.user file from shell

  • I know how to use qmake and make.

    I mostly develop my code in Qt Creator, but sometimes I need to build all my projects from script (for automated deployment). I've configured my build via build settings (like build directory, flags, etc.) in Qt Creator already. I don't want to copy paste those settings into script by hand but to use them.

    I looked at the *.pro.user file and found that I cannot just extract make command and qmake command from XML, Qt Creator constructs those commands from more primitive XML values.

    Is there way to ask qmake or qtcreator to build the project exactly like it builds by pressing "Build" button in Qt Creator?

Log in to reply