Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How can I combine C++(QtWidget) UI with QtQuick UI in the same app and also work on Android?

How can I combine C++(QtWidget) UI with QtQuick UI in the same app and also work on Android?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 579 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Flavia
    wrote on last edited by
    #1

    Hi everyone ,

    QQuickWidget class was introduced with the advent of the new version of Qt 5.3 and works perfectly if the application runs on Windows / Linux but I noticed that the Android platform is not supported. I would like to know if anyone has faced this problem too and if there is an alternative to QQuickWidget that works on Android. What I am trying to do is to combine QML and C++ so I could open a new QtQuick interface from QtWidget form. I tried before QQuickWidget to use QWidget::createWindowContainer and QQuickView and also worked well on Windows but not on Android. Does anyone know if it will settle the subsequent versions or someone tried Qt 5.4 ?

    For example this project:

    http://qt-project.org/doc/qt-5/qtquick-quickwidgets-quickwidget-example.html

    works fine on Windows but on Android emulator it only appears the Window with LCD number and the second Window which contains the Qml and the QQuickWidget is empty.

    [Thread closed. Duplicate of http://qt-project.org/forums/viewthread/50152/ --JKSH]

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved