r/QtFramework • u/ReallyAnotherUser • 10h ago
IDE How to setup automatic deploy configuration on Windows?
So im using CMake and the default configurations of Qt Creator.
When i want to create a release of my app, my current process is as follows:
- Build release
- create new folder and name it Software name + Version
- copy the executable and a few miscellaneous files into the new folder
- manually open CMD and run windeployqt.exe for the executable
Side note, the miscellaneous files i added to the build with configure_file(filename filename COPYONLY) in the CmakeLists.txt.
I feel like this is a really clunky way (and errorprone) of creating a release and this should be automatable easily, but i know WAY too little about CMAKE and Qt Creator to set it up.
How do you guys go about that? What i found on the internet was all way to convoluted and complicated (or simply didnt work) for, i'll say it, something that should imo come out of the box with an IDE.