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. Embed a QWidget inside a non-Qt window
Forum Updated to NodeBB v4.3 + New Features

Embed a QWidget inside a non-Qt window

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.3k 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.
  • P Offline
    P Offline
    pciccone
    wrote on last edited by
    #1

    Hello.

    I hope this is not an FAQ, I swear that I looked :)

    Is it possible to embed in any way a QWidget inside a non-Qt window? This ideally would work on both Mac OS and Windows.

    Thanks in advance.

    1 Reply Last reply
    0
    • rincewindR Offline
      rincewindR Offline
      rincewind
      wrote on last edited by
      #2

      Have a look at the "Qt/MFC Migration Framework":http://qt.nokia.com/products/qt-addons/solutions-archive/. Unfortunately it is for Windows only.

      [edit]
      Just to explain how this will help you, look at this explanation from the documentation...

      The QWinWidget class is a Qt widget that can be child of a native Win32 widget.

      The QWinWidget class is the bridge between an existing application user interface developed using native Win32 APIs or toolkits like MFC, and Qt based GUI elements.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pciccone
        wrote on last edited by
        #3

        Thank you, unfortunately this will not work, if I find a solution it must work on Mac OS too. In fact Mac OS is my primary development platform.

        Thanks anyway.

        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