Porting to Android



  • I’m developing my application using QtQuick Controls and QML and the interface is good and work fine.
    In the future the application’s roadmap expects the porting on Android (using the newly Qt Android libs):
    in this case, should I redesign the entire interface, or the QtQuick Controls are build for an automatic adjustment on the new interface?


  • Moderators

    Should work fine, but AFAIK not in Qt 5.1 (Controls are ready for desktop platforms. Full support for mobile is planned for Qt 5.2).



  • So the entire layout will auto-adjusted as itselfs fot the new monitor resolution?
    If it no, there is a way to determinate differente interfaces for different devices on the same project?
    [quote author="sierdzio" date="1374745779"]Should work fine, but AFAIK not in Qt 5.1 (Controls are ready for desktop platforms. Full support for mobile is planned for Qt 5.2).[/quote]


  • Moderators

    [quote author="mikecurl91" date="1374746317"]So the entire layout will auto-adjusted as itselfs fot the new monitor resolution?
    If it no, there is a way to determinate differente interfaces for different devices on the same project?[/quote]

    Not sure, you'll need to test. Depends on how you wrote it, too.

    As for different interfaces: it's doable currently with Loader element. Future Qt versions (probably starting with Qt 5.2) will include file selector API that will make using different UI files for different platforms much easier.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.