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. [PySide2] GUI has stopped loading after I made a few changes?
Forum Updated to NodeBB v4.3 + New Features

[PySide2] GUI has stopped loading after I made a few changes?

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

    Hello,

    I am using Qt Designer 5.14.1 for designing a small interface. It was working great, but yesterday, all I did was add 20 buttons to my UI file and since then, the program has stopped working.

    I launch the python file, the working in background cursor shows up:
    a7b28bd2-f6b5-4efc-83d3-ba417d9c9f81-image.png

    And then that's it. Nothing happens after that. The mouse just returns to normal.

    How can I further diagnose this issue?

    JonBJ 1 Reply Last reply
    0
    • L lolcocks

      Hello,

      I am using Qt Designer 5.14.1 for designing a small interface. It was working great, but yesterday, all I did was add 20 buttons to my UI file and since then, the program has stopped working.

      I launch the python file, the working in background cursor shows up:
      a7b28bd2-f6b5-4efc-83d3-ba417d9c9f81-image.png

      And then that's it. Nothing happens after that. The mouse just returns to normal.

      How can I further diagnose this issue?

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

      @lolcocks
      Take a copy of the project, delete the 20 buttons, and see if it works again?

      Did you just add buttons in the designer, or did you any code, anywhere?

      L 1 Reply Last reply
      1
      • jazzycamelJ Offline
        jazzycamelJ Offline
        jazzycamel
        wrote on last edited by jazzycamel
        #3

        @lolcocks
        Could you post your code (python and UI file) so we can take a look please? As @JonB says, try removing the buttons in a copy and see what happens :)

        For the avoidance of doubt:

        1. All my code samples (C++ or Python) are tested before posting
        2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
        1 Reply Last reply
        2
        • JonBJ JonB

          @lolcocks
          Take a copy of the project, delete the 20 buttons, and see if it works again?

          Did you just add buttons in the designer, or did you any code, anywhere?

          L Offline
          L Offline
          lolcocks
          wrote on last edited by
          #4

          Thanks everyone. I removed the buttons one by one until I found the culprit.

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved