Deploy (mac) with include in bundle other command



  • I want start a server software when my DESKTOP APP start.

    I try this and this is ok but how i coompile and bundle it in my project?

    Ex i create a directory in my project ext and this i copy nodejs server or ruby or mysql (this is example) how i bundle my project with this app?

    I try resources in pro file but my bundle don't contain ext directory.

    Thank you in advance!



  • The RESOURCES directive only takes a valid qrc file as input, what you're probably looking for are deployment folders:

    You can add a deployment folder to your project file like:

    @myFolder.source = ext
    DEPLOYMENTFOLDERS += myFolder@

    (will then get bundled in the Resources subdir of your mac app bundle)

    Alex


Log in to reply
 

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