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. Qt Designer automatic .ui generation import problem
Forum Updated to NodeBB v4.3 + New Features

Qt Designer automatic .ui generation import problem

Scheduled Pinned Locked Moved Solved Qt for Python
4 Posts 2 Posters 669 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.
  • immmommI Offline
    immmommI Offline
    immmomm
    wrote on last edited by immmomm
    #1

    hi guys!

    i am using: macOS, Python 3.x, Pyside2, QtDesigner

    I found this helpful article how to create .ui files and separate the ui (so I can change every time I want) from signals (other .py file) and the basic code behind my project (another .py file):

    PySide Recipes

    from reading - it sounds useful and good to me. but I can't find the necessary imports for it.
    anyone has some experience where I could find them?

    thx!

    cheese

    jsulmJ 1 Reply Last reply
    0
    • immmommI immmomm

      hi guys!

      i am using: macOS, Python 3.x, Pyside2, QtDesigner

      I found this helpful article how to create .ui files and separate the ui (so I can change every time I want) from signals (other .py file) and the basic code behind my project (another .py file):

      PySide Recipes

      from reading - it sounds useful and good to me. but I can't find the necessary imports for it.
      anyone has some experience where I could find them?

      thx!

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

      @immmomm I'm not sure what exactly the problem is? What do you mean by "necessary imports"?

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

      immmommI 1 Reply Last reply
      0
      • jsulmJ jsulm

        @immmomm I'm not sure what exactly the problem is? What do you mean by "necessary imports"?

        immmommI Offline
        immmommI Offline
        immmomm
        wrote on last edited by
        #3

        @jsulm
        there is just the code - not the imports like "import pyside2"...

        cheese

        jsulmJ 1 Reply Last reply
        0
        • immmommI immmomm

          @jsulm
          there is just the code - not the imports like "import pyside2"...

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

          @immmomm Just execute your app and you will get errors telling you what is missing, then import neccesery modules.

          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