Results 1 to 3 of 3

Thread: Porting QT Widgets desktop app to mobile environment

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2014
    Posts
    53
    Thanks
    9

    Default Porting QT Widgets desktop app to mobile environment

    Hi,
    I have a QT Widgets desktop app and I want to port it to mobile. It is a client server (office productivity) app with about 15 windows, and all of them open as a standalone window with many tabs and fields. When I compiled it for android and ran it looked super ugly. I have a lot of modal dialogs opening and on android they don't look like another window, but merged with the current one making it a complete mess.

    What would you recommend me in my case? I have two choices:
    1) Make necessary adjustments to current app so it looks not so ugly with a desktop look and feel. (I don't really need it to look android-native) Since android is a single window environment I would have to change everything to use the only front window. Not sure how difficult this task is and if possible at all , specially catching device-rotating events.
    2) Rewrite everything in QT Quick with controls 2. After all , it is only the presentation, the business logic goes in their own classes.

    What would you go for if the development time was not an issue?
    Any tips or experiences on porting Destkop QT Widgets apps to Android/IOS ?

    Personally I like QT Widgets , they look much more advanced an powerful than QT Quick Controls, but somebody was saying QT Quck is going to be the future, that ARM is going to dominate the desktop market very soon, so maybe it worth investing in QT Quick ?

    TIA
    Nulik
    Last edited by nuliknol; 19th August 2016 at 01:16.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Porting QT Widgets desktop app to mobile environment

    I would definitely write separate UIs for these two very different device types.

    For mobile probably using QtQuick as it is more aligned with that kind of behavior expectations.
    But I would very likely still use QtWidgets for the desktop side.

    Not sure what your reference to ARM meant, from Qt's perspective there is little difference in which architecture the CPU has as long as Qt is supported on it.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    nuliknol (19th August 2016)

  4. #3
    Join Date
    Apr 2014
    Posts
    53
    Thanks
    9

    Default Re: Porting QT Widgets desktop app to mobile environment

    Quote Originally Posted by anda_skoa View Post
    I would definitely write separate UIs for these two very different device types.
    _
    Thanks! That's actually what I was thinking too, release 2 version MyApp Desktop and MyApp Mobile. After all, there are hardware difference on both computing devices and you can't just ignore those.

Similar Threads

  1. install qt sdk on ubuntu without desktop environment
    By Cremers in forum Installation and Deployment
    Replies: 0
    Last Post: 10th May 2012, 15:16
  2. Desktop vs Mobile
    By Zingam in forum Qt Quick
    Replies: 1
    Last Post: 27th June 2011, 12:10
  3. Desktop environment for mobile devices
    By zuck in forum Qt Programming
    Replies: 4
    Last Post: 17th December 2009, 18:47
  4. QNOME - Another Desktop Environment
    By MIH1406 in forum Qt Programming
    Replies: 3
    Last Post: 22nd September 2009, 18:23
  5. Detect Desktop Environment
    By phannent in forum Qt Programming
    Replies: 2
    Last Post: 19th August 2008, 15:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.