What are the benefits of Qt programming on Linux rather than Windows
-
@tomy To develop for iOS (tvOS, watchOS as well) you have to use macOS. Everything else is possible to do on Linux.
Windows development on Linux may give you some troubles that you wouldn't have when doing native development, but they are solvable (except you won't be able to use MSVC on Linux)
-
@Konstantin-Tokarev
Thanks.
I want to write apps for iPhone and iPad (mostly iPhone). So if I can develop apps for Linux, Android and iPhone all on a Linux dist like Ubuntu, it's a really good news. :-)
Just tell me how to do it please?For Windows, it's not that important. I can have a dual boot (a windows and a Linux) and for the windows apps I use the windows platform itself.
-
@tomy Absolutely... I write all my code in my native OS which at this time is Linux.
Then I compile and test on the target platform. So I develop and test mostly on linux but then before releases I build and test on OSX and windows (same code base).
If there are problems I fix them before release. I spend very little time outside linux though.
As for iOS and android. I don't do mobile development much but the library I wrote for android/ios was indeed developed primarily in linux and only tested on the target devices.
You can build android and linux on linux. iOS and OSX on osx, and windows phone/windows desktop on windows. I don't think Qt supports windows phone, but the mobile project I did we went raw rather than using Qt.
-
@tomy said in What are the benefits of Qt programming on Linux rather than Windows:
@Konstantin-Tokarev
Thanks.
I want to write apps for iPhone and iPad (mostly iPhone). So if I can develop apps for Linux, Android and iPhone all on a Linux dist like Ubuntu, it's a really good news. :-)
Just tell me how to do it please?For Windows, it's not that important. I can have a dual boot (a windows and a Linux) and for the windows apps I use the windows platform itself.
To do this you would have to use Qt. Since your Qt code can be used on android as well as ios, you could develop on Linux. You would of course have to actually build it on OSX for deployment and testing on actual iOS devices though.
If you went native you would not be able to develop iOS on anything but a mac. I mean you could still write the code but actual building would have to be done on osx.
You can still use linux, but you would need to have a mac server or something to ssh and build though. So if you are doing raw iOS development just get a mac. If you are going cross platform, use whatever you like (again I prefer linux these days). :)
-
To simplify the issue and offer a simple, right, concise and useful answer we say:
Apps for Windows: using Qt (C++) on a Windows host
Apps for android: using Qt Quick on a Windows/Linux host
Apps for Linux: using (a related version of) Qt (Creator) on a Linux host
Apps for iOS: using (a related version of) Qt (Creator) using an Apple device running Mac Os x.I think you agree?
-
Hi,
Not quite:
Apps for android: on a Windows/Linux/macOS host
You might be able to cross-compile from Linux to Windows but that has other implications.
-
-
@Wieland
I'd seen this, but when I hear that I can use a Linux for iOS apps, questions will appear.So to give an answer for my original question, I say: "no advantages unless I'm developing for Linux and not Windows".