Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Embed PyQt in C++/C

Embed PyQt in C++/C

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 907 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.
  • V Offline
    V Offline
    vyau
    wrote on 29 Oct 2018, 23:26 last edited by
    #1

    Hi, I have written a PyQT application in PyQt5. I now need to embed that in a C/C++ application. I see how to embed Python in C/C++ but I do not know how I can make sure the PyQt5 widgets are also available when run inside a C/C++.

    Some of the PyQt5 widgets I have used:
    from PyQt5.QtWidgets import QApplication, QFrame, QGridLayout, QHBoxLayout, QPushButton, QSizePolicy, QSpacerItem,QToolButton, QVBoxLayout, QWidget, QTextEdit

    How do I make sure these PyQt5 objects are there inside C/C++ when I embed?
    Any help much appreciated. Thanks!

    1 Reply Last reply
    1
    • L Offline
      L Offline
      loopless
      wrote on 3 Jan 2019, 17:49 last edited by
      #2

      Have a look at PythonQT

      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