Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to add many additional files in subdir(s) to deployment on windows?



  • Hi,

    isn't there a simple way to add many addiontional files (or directories) to the deployment-directory?

    My Problem: I wan't to provide a large number of files (images) with my Qt-Executable, realtive to it.

    I found the following solution for symbian at "http://wiki.forum.nokia.com/index.php/CS001424_-Using_the_DEPLOYMENT_keyword_in_a_Qt_package_file":http://wiki.forum.nokia.com/index.php/CS001424-_Using_the_DEPLOYMENT_keyword_in_a_Qt_package_file
    @myFiles.sources = images*
    myFiles.path = c:\data\images
    DEPLOYMENT += myFiles@

    But isn't there a way to do this on windows?
    (The ressource System isn't a way for me, because the files change dynamically in the subdirs)



  • Qt does not contain a setup solution for windows. You will have to pull that together yourself. I am using Inno Setup, and that works fine for me, but there are plenty of other choices.



  • I discovered Inno Setup thanks to Andre, and it works very well, covering almost all the options a professional setup needs.

    ... If I can deploy an application, but unfortunately my problem remain unsolved at the actual date.


Log in to reply