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. Using QtWidgets inside of a QML fron end
Forum Update on Monday, May 27th 2025

Using QtWidgets inside of a QML fron end

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 253 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.
  • G Offline
    G Offline
    GregWilsonLindberg
    wrote on last edited by
    #1

    We are building an embedded system and the debug system was completely built with QtWidgets. The production system is having the GUI written with QML. We have some debug code that we would like to keep that is contained in a QTabWidget.
    Is there any way that we can display the QTabWidget and its contents from the QML GUI? Can anyone point me to any examples of using QtWidgets inside of a QML GUI?

    Regards,
    Greg

    1 Reply Last reply
    0
    • eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by
      #2

      No, unfortunately it is not possible to embed Qt Widgets in QML (but the opposite is possible). In QML there are alternatives to QTabWidget like TabBar or TabView.

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      1
      • G Offline
        G Offline
        GregWilsonLindberg
        wrote on last edited by
        #3

        I wasn't worried about being able to duplicate what I had, I was hoping to not have to re-write a bunch of code. That's unfortunate.

        Thanks,
        Greg

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You might be interested by KDAB's DeclarativeWidgets project.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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