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. Compile Qt widgets (cpp) into python modules
Forum Updated to NodeBB v4.3 + New Features

Compile Qt widgets (cpp) into python modules

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 858 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.
  • S Offline
    S Offline
    snoop911
    wrote on last edited by
    #1

    I downloaded the source code for an analog widget plugin,
    http://qt-apps.org/content/show.php/AnalogWidgets?content=87780

    and compiled the plugin into a dll (Qt Creator) and instantiated a widget in a .ui file (PyQt Designer)... but in order to load this .ui from a .py file, it looks for the widget's python module!

    Perhaps something like 'pyuic5 -x input.ui -o output.py' but instead of a .ui input, uses the widget's .cpp file?

    http://pyqt.sourceforge.net/Docs/PyQt5/designer.html#writing-qt-designer-plugins
    http://stackoverflow.com/questions/2398800/linking-a-qtdesigner-ui-file-to-python-pyqt

    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