Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Using QtWidgets inside of a QML fron end

    Mobile and Embedded
    3
    4
    61
    Loading More Posts
    • 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
      GregWilsonLindberg last edited by

      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 Reply Quote 0
      • eyllanesc
        eyllanesc last edited by

        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 Reply Quote 1
        • G
          GregWilsonLindberg last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 1
            • First post
              Last post