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. Switching PySide2 to PyQt5 in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Switching PySide2 to PyQt5 in Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt for Python
qt for pythonpythonpyside2
2 Posts 2 Posters 1.3k 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.
  • H Offline
    H Offline
    hendry33
    wrote on last edited by
    #1

    How to switch PySide2 to PyQt5 in Qt Creator?

    1 Reply Last reply
    0
    • LimeyLimeL Offline
      LimeyLimeL Offline
      LimeyLime
      wrote on last edited by
      #2

      It depends on how you create your project/file.
      If you create a project of the type Application "Qt for Python", you will end up with a main.py where PySide2 is imported and I could not find the template file in the Qt installation files.
      If you simply create a new file of the type Python | Python Class you will be offered to choose between PyQt5 and Pyside2. The template file is in your Qt installation folder: Qt\Tools\QtCreator\share\qtcreator\templates\wizards\classes\python.

      Sorry, QtCreator is great but not perfect for Python yet from what I can tell :-/

      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