Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Include QWidget into QML. How?
Forum Updated to NodeBB v4.3 + New Features

Include QWidget into QML. How?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 3 Posters 736 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by bogong
    #1

    Hello!

    I need to include into QML UI some previously developed modules on QWidget. Few months ago I've seen examples of it, but couldn't find it right now. Could someone provide me with it?

    Briefly - I need to solve the same kind of issue https://www.qtdesktopdays.com/how-to-breathe-new-qml-life-into-a-qwidget-based-app-from-2000s/

    eyllanescE J.HilkJ 2 Replies Last reply
    0
    • B bogong

      Hello!

      I need to include into QML UI some previously developed modules on QWidget. Few months ago I've seen examples of it, but couldn't find it right now. Could someone provide me with it?

      Briefly - I need to solve the same kind of issue https://www.qtdesktopdays.com/how-to-breathe-new-qml-life-into-a-qwidget-based-app-from-2000s/

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by
      #2

      @bogong No it can not be done. The opposite (embedding QML in QtWidgets) is possible

      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
      • B bogong

        Hello!

        I need to include into QML UI some previously developed modules on QWidget. Few months ago I've seen examples of it, but couldn't find it right now. Could someone provide me with it?

        Briefly - I need to solve the same kind of issue https://www.qtdesktopdays.com/how-to-breathe-new-qml-life-into-a-qwidget-based-app-from-2000s/

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @bogong That way is not really intended, AFAIK.

        The closest thing you can try, and that I know of, is KDAB's declarative widgets
        https://www.kdab.com/declarative-widgets/


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        B eyllanescE 2 Replies Last reply
        3
        • B Offline
          B Offline
          bogong
          wrote on last edited by bogong
          #4

          Solution found https://www.kdab.com/declarative-widgets/ Issue closed.

          https://www.qtdesktopdays.com/wp-content/uploads/2020/09/HOW-TO-BREATHE-A-NEW-QML-LIFE.pdf
          https://youtu.be/DFyjLYcxwU4

          1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @bogong That way is not really intended, AFAIK.

            The closest thing you can try, and that I know of, is KDAB's declarative widgets
            https://www.kdab.com/declarative-widgets/

            B Offline
            B Offline
            bogong
            wrote on last edited by
            #5

            @J-Hilk We've posted similar things in one thread ...

            1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              @bogong That way is not really intended, AFAIK.

              The closest thing you can try, and that I know of, is KDAB's declarative widgets
              https://www.kdab.com/declarative-widgets/

              eyllanescE Offline
              eyllanescE Offline
              eyllanesc
              wrote on last edited by
              #6

              @J-Hilk It should be noted that "declarative-widgets" does not place QtWidgets within the QML rendering, it only allows declaring (pointing to properties) of the QtWidgets using QML.

              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
              0

              • Login

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