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. QwidgetFactory in Qt5 et python3
Qt 6.11 is out! See what's new in the release blog

QwidgetFactory in Qt5 et python3

Scheduled Pinned Locked Moved Unsolved Qt for Python
5 Posts 3 Posters 949 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.
  • A Offline
    A Offline
    Ay CH
    wrote on last edited by
    #1

    hi i am currently working on a project which i am supposed to port its scripts which are written in python2 and Qt3 to python3 and Qt5, and here i have come to the last point i need it from QwidgetFactory class to launch my GUI , but I can't find this class in Qt5 until now,
    in python2 it was called like this "from qtui import QWidgetFactory" but in python3 and qt5 I can't find "qtui" so I hope someone else can help me in this step

    jsulmJ JonBJ 2 Replies Last reply
    0
    • A Ay CH

      hi i am currently working on a project which i am supposed to port its scripts which are written in python2 and Qt3 to python3 and Qt5, and here i have come to the last point i need it from QwidgetFactory class to launch my GUI , but I can't find this class in Qt5 until now,
      in python2 it was called like this "from qtui import QWidgetFactory" but in python3 and qt5 I can't find "qtui" so I hope someone else can help me in this step

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Ay-CH See https://het.as.utexas.edu/HET/Software/html/porting4.html
      "QWidgetFactory

      The QWidgetFactory class has been replaced by QFormBuilder in Qt 4."

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Ay CH

        hi i am currently working on a project which i am supposed to port its scripts which are written in python2 and Qt3 to python3 and Qt5, and here i have come to the last point i need it from QwidgetFactory class to launch my GUI , but I can't find this class in Qt5 until now,
        in python2 it was called like this "from qtui import QWidgetFactory" but in python3 and qt5 I can't find "qtui" so I hope someone else can help me in this step

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #3

        @Ay-CH
        Please don't double-post from your https://forum.qt.io/topic/135149/qwidgetfactory-in-pyqt5 and make @jsulm answer here too, stick to one thread please......

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Ay CH
          wrote on last edited by
          #4

          AttributeError: 'QMainWindowFactory' object has no attribute 'connect'

          can someone help me to fixe that ?

          JonBJ 1 Reply Last reply
          0
          • A Ay CH

            AttributeError: 'QMainWindowFactory' object has no attribute 'connect'

            can someone help me to fixe that ?

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by
            #5

            @Ay-CH
            Thanks for posting into "duplicate" thread again, when you are asking similar questions in https://forum.qt.io/topic/135149/qwidgetfactory-in-pyqt5/4 as stated above.....

            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