How realistic and how to write a graphical application running on Linux (+ Android) and Win? How in this case itself QT will show?
- Qt for android will not work. In your case it is better to use Java - Alex Kapustin
- For Linus <-> Win Qt is a great solution. But with android complexity. - skegg
2 answers
The problem should be considered in the context of cross-platform on the phone and desktop.
For desktops there are separate cross-platform solutions - yes, the same Java Swing. Mobile platforms also have cross-platform solutions: the most famous is PhoneGap - covers Android, iOS, J2ME, BlackBerry and Symbian
And so that the desktop and mobile platform in one bottle - I have not seen such solutions (well, except for Qt). It is generally not surprising since the interfaces on desktops and mobile platforms are too different.
- Under Windows / Linux, Qt works pretty well, especially if you don’t use any OS-specific things, such as accessing devices, etc.
- Android due to mobility is different from the above mentioned OS, and Qt will not work for it, as analogue of Qt here will be something like Rhodes.
In general, they usually do this: break the application into levels (interface - logic - devices) and what can be done cross-platform (for example, the logic is written in C / C ++ and compiled for the OS you need), and everything else is done separately for each OS .