Cross Platform development
-
I am new to Qt. I am developing on Mac OS X 10.13.4 I want to build my Qt Apps for "Windows 10" and "Linux" Is it possible? I checked the forum and found vague answers.
-
Hello @NimmiVidya ,
Qt support cross-platform software development. Instead of Mac, Windows and Linux. you can use Qt for developing Android, ios and Embedded system. Off-course you need to make your UI platform specific(If you want to run desktop App to Android or iOS). -
@NimmiVidya
Hi and welcome to the forums
While its possible to some degree, its a HUGE task to set up.
Not something that can be explained in a forum post.
If you are not experienced with cross-compiling / cross tools chains. i would not
go down that route.,I would suggest simply to use virtual machines with win 10/ Linux and compile directly there.
-
Hi and welcome to devnet,
What do you mean by vague answers ?
While you might be able achieve that using something like MinGW, this means that you'll have to also cross-compile all dependencies of your applications including Qt.
For desktop platforms, the recommended way is to use virtual machines with your targets OS installed and build your application there. That will also allow you to run your tests on the actual system your application will run on.