Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Create setup with qmake?
Forum Updated to NodeBB v4.3 + New Features

Create setup with qmake?

Scheduled Pinned Locked Moved Qt Creator and other tools
qmakesetup
1 Posts 1 Posters 698 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    slesa
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved