Results 1 to 9 of 9

Thread: Converting Pyqt5 apps to android

  1. #1
    Join Date
    Mar 2019
    Posts
    8
    Thanks
    1
    Platforms
    Windows Android

    Default Converting Pyqt5 apps to android

    Hello,
    I am new to this forum and to pyqt5 as well. i have a desktop app developed with pyqt5 and would like to know whether i could convert that to android app easily or not. Where should i start with.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,229
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Converting Pyqt5 apps to android

    Where should i start with.
    Google, maybe?
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Mar 2019
    Posts
    8
    Thanks
    1
    Platforms
    Windows Android

    Default Re: Converting Pyqt5 apps to android

    Google brought me here

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Converting Pyqt5 apps to android

    Quote Originally Posted by techie View Post
    Hello,
    I am new to this forum and to pyqt5 as well. i have a desktop app developed with pyqt5 and would like to know whether i could convert that to android app easily or not. Where should i start with.
    It seems there is some support for PyQt5 on Android. If you are familiar with the Android environment then it may be possible. If you are also new to that environment then I suspect it will not be straightforward. In either case, the nature of the UI will be important as it needs to function well in a limited environment.
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

  5. #5
    Join Date
    Mar 2019
    Posts
    8
    Thanks
    1
    Platforms
    Windows Android

    Default Re: Converting Pyqt5 apps to android

    Quote Originally Posted by ChrisW67 View Post
    It seems there is some support for PyQt5 on Android. If you are familiar with the Android environment then it may be possible. If you are also new to that environment then I suspect it will not be straightforward. In either case, the nature of the UI will be important as it needs to function well in a limited environment.
    Ok, i am new to all these, i have a very silly question but need guidance, i know a bit of python and if i learn QML can i make good looking apps for both android and desktop with this combo? my understanding is QML is a UI language? am i right? and also QT and QML are same?

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

    Default Re: Converting Pyqt5 apps to android

    Quote Originally Posted by techie View Post
    i know a bit of python and if i learn QML can i make good looking apps for both android and desktop with this combo?
    Yes, though depending on the application the usage of QtWidgets might result in better UI than usage of QtQuick.

    Quote Originally Posted by techie View Post
    my understanding is QML is a UI language?
    No, but you probably mean QtQuick.

    QML is a language to describe trees of objects, their properties and relations.

    One usage is to describe UI scenes using the QtQuick component set.

    Quote Originally Posted by techie View Post
    and also QT and QML are same?
    QML is part of the technologies available in Qt. Qt is far wider than just QML.

    Cheers,
    _

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

    techie (10th March 2019)

  8. #7
    Join Date
    Mar 2019
    Posts
    8
    Thanks
    1
    Platforms
    Windows Android

    Default Re: Converting Pyqt5 apps to android

    Quote Originally Posted by anda_skoa View Post
    Yes, though depending on the application the usage of QtWidgets might result in better UI than usage of QtQuick.


    No, but you probably mean QtQuick.

    QML is a language to describe trees of objects, their properties and relations.

    One usage is to describe UI scenes using the QtQuick component set.



    QML is part of the technologies available in Qt. Qt is far wider than just QML.

    Cheers,
    _
    should i learn c++ before learning QT or QML or QT quick?

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

    Default Re: Converting Pyqt5 apps to android

    I don't think that will be necessary, Python should be fine.

    With Qt 5.12 it is now even supported by The Qt Company directly.
    They call if "Python for Qt"

    Cheers,
    _

  10. #9
    Join Date
    Mar 2019
    Posts
    8
    Thanks
    1
    Platforms
    Windows Android

    Default Re: Converting Pyqt5 apps to android

    Quote Originally Posted by anda_skoa View Post
    Yes, though depending on the application the usage of QtWidgets might result in better UI than usage of QtQuick._
    Can you please explain a bit more on this Qtquick seems to have good looking UI than Qtwidgets

Similar Threads

  1. My Qt android apps on google-play !
    By nik02 in forum Qt-based Software
    Replies: 3
    Last Post: 13th January 2016, 12:29
  2. Apple and/or Android apps with Qt5.2?
    By TorAn in forum Qt-based Software
    Replies: 2
    Last Post: 27th December 2013, 17:40
  3. How do I add Java code to Qt Android apps via Qt Creator
    By scottwild in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 2nd October 2013, 00:09
  4. Android Apps professional from India
    By myclass in forum Resumes
    Replies: 1
    Last Post: 5th September 2013, 04:36
  5. Replies: 0
    Last Post: 26th June 2009, 18:53

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.