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. How to embed a non-qt c++ project (openglwindow) in a Qt quick project?

How to embed a non-qt c++ project (openglwindow) in a Qt quick project?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 169 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.
  • R Offline
    R Offline
    Rozerin YILDIZ
    wrote on last edited by Rozerin YILDIZ
    #1
    import QtQuick
    
    Window {
        id: mainWindow
        width: 300; height: 300
        visible: true
        color: "darkseagreen"
    
        WindowContainer {
            window: openGLWindow
            anchors.centerIn: parent
        }
    
    
    

    like this code I'm trying to embed non-Qt Quick windows. I create a non-qt c++ project, but i don't know how to embed it in my qt project. I follow this link: https://www.qt.io/blog/window-embedding-in-qt-quick (embedding non-qt quick windows) how can i do this?

    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