Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qwidget in Qml
Qt 6.11 is out! See what's new in the release blog

Qwidget in Qml

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.1k Views 2 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.
  • S Offline
    S Offline
    satyanarayana143
    wrote on last edited by
    #1

    Hi friends,

    I am qml Application window in qt. I want embed Qwidget ui in qml can anybody tell how to embed in qml.

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • S satyanarayana143

      Hi friends,

      I am qml Application window in qt. I want embed Qwidget ui in qml can anybody tell how to embed in qml.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @satyanarayana143 I'm not sure this is possible. What is possible is to embed QML in a widget application.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • S satyanarayana143

        Hi friends,

        I am qml Application window in qt. I want embed Qwidget ui in qml can anybody tell how to embed in qml.

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

        @satyanarayana143 to add to @jsulm

        you can create a QWidget via c++ code (new QWidget()) , that is called from qml.
        But as far as I know, it will always have it's own Window(if the os has a windowmanager), no way to "embed" it into a qml ui.


        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.

        1 Reply Last reply
        1
        • 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
          2

          • Login

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