I’m new to C++ and Qt but I’ve managed to make a simple test program and I was wondering how can I deploy it to other operating systems? Right now I’m on a Mac so how can I make it run on my PC? I’ve tried to find some answers but the only answers I’ve seen is how to deploy them already on Windows. Thanks for the help.
Share
Easiest way is to run Windows somehow and compile & build a distribution there. You can use a virtual machine (VMWare/Parallells, slow) or dual-boot (faster), or a separate windows PC altogether.
A VM is a good thing to have anyhow when you want to test your deployment, as it’s easy to wipe the machine and re-run the installation.
By using Qt’s qmake, you’ll get the build done easily enough on other OS:es (or use Qt Creator).
There’s also the option of using the CMake/CPack tools instead, as these give you build-anywhere files, as well as multi-platform packaging with a single config file.