Create setup with qmake?



  • Hi there,

    I am trying to create a setup file for each OS. On Win I call makensis, on Mac I call hdiutil. With

    setup.target    = setup
    win32 {
        setup.commands = $${PWD}/../../tools/nsis/Bin/makensis.exe $${PWD}/../../setup\win\setup.nsi
    }
    macx {
        setup.commands = hdiutil create ...
    }
    POST_TARGETDEPS    += setup
    

    this works fine. But the commands are executed just before the program is linked. And as far as I understand, I can only tell with INSTALLS to copy files. So, how would I call those commands to deploy the latest compilation?


Log in to reply
 

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