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. Connecting python and qt without using pyside6
Qt 6.11 is out! See what's new in the release blog

Connecting python and qt without using pyside6

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 218 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.
  • L Offline
    L Offline
    lfreeman6490
    wrote on last edited by lfreeman6490
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      What about PyQt5 ?
      https://doc.bccnsoft.com/docs/PyQt5/installation.html#

      It says "Wheels are provided for 32- and 64-bit Window" so maybe it also comes in 32 bit version?

      PyQt4 is very old.

      In any case, you have created a widget.
      You could add a button to it. connect its clicked signal to a slot
      and call your connect function there.

      https://zetcode.com/gui/pyqt4/firstprograms/

      You still need a main that creates a QApplication for Qt to work.

      Also since your app has a main already, you should create the QApplication (as first thing) or
      refactor the app so what ever main does can be called from the new main.

      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