Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Develop on Windows, deploy to Linux?
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!
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.
@SGaist Thanks for your quick reply!
Is it possible to get a Qt build target that git pulls, then runs qmake and make via SSH or something?
That's what you usually do using a script.
@SGaist Ahh, okay I see it.
Clone Build Config -> Delete Build Steps -> add Custom Process Step
Thanks for the inspiration!