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. Didn't ran the GUI created by QTDesigner
Forum Updated to NodeBB v4.3 + New Features

Didn't ran the GUI created by QTDesigner

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 158 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.
  • R Offline
    R Offline
    RenanVMF
    wrote on last edited by
    #1

    Hello! I got error trying to compile my interface created on QDesigner. Need help!

    Traceback (most recent call last):
    File "/home/renanvmf/run.py", line 20, in <module>
    main()
    File "/home/renanvmf/run.py", line 15, in main
    form = ExampleApp()
    File "/home/renanvmf/run.py", line 11, in init
    self.setupUi(self)
    File "/home/renanvmf/ui_Cameras.py", line 25, in setupUi
    self.centralwidget = QWidget(self)
    TypeError: 'PySide2.QtWidgets.QWidget' called with wrong argument types:
    PySide2.QtWidgets.QWidget(ExampleApp)
    Supported signatures:
    PySide2.QtWidgets.QWidget(typing.Optional[PySide2.QtWidgets.QWidget] = None, PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What does run.py contain ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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