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 Updated to NodeBB v4.3 + New Features

Using QtWidgets inside of a QML fron end

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 255 Views 1 Watching
  • 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 27 May 2020, 21:51 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
    • E Offline
      E Offline
      eyllanesc
      wrote on 28 May 2020, 00:34 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 28 May 2020, 17:03 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 28 May 2020, 17:56 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

          1/4

          27 May 2020, 21:51

          • Login

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