Develop on Windows, deploy to Linux?
-
Hi
I am developing a website with the CPPWebFramework, which is made with Qt and I want to deploy the site to a Linux instance on Vultr. I'm doing all development in Qt Creator.
I know I can install Qt on Linux, transfer the files and manually compile from there, but any more automated - and not too convoluted - tips and tricks would be very welcome. Transferring any ad hoc files from the Server directory during the build/deploy step would be helpful too.
Cheers for any insights!
-
Hi,
The quick version would be to do what you described. Setting up cross-compilation from Windows to Linux might be doable but it's really not easy.
You could even consider using Docker for that.
Note that if on you are on Windows 10, the new Linux Subsystem could potentially be another solution.
-
That's what you usually do using a script.