Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT crashes when opening .UI file
Forum Updated to NodeBB v4.3 + New Features

QT crashes when opening .UI file

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 4 Posters 1.7k 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.
  • I Offline
    I Offline
    iojik
    wrote on last edited by
    #1

    Hello everyone, I'm using QTCreator 5.15.0 (open source) with these settings: my settings
    Everything works fine, I can open header files and more, but I cannot open .UI files under the forms category, no matter how hard I try. I've already tried reinstalling, but it did nothing to fix the issue. So, I open the .UI file, the program takes some time to load and closes without a warning. I've tried making new projects, using old ones, but those project's UI files don't work either. Any help/suggestions would be appreciated, thank you. (Oh, and FYI I've been using widgets, but my latest project uses a mainwindow instead, and I suspect that it might be at fault(?))

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

      Hi and welcome to devnet,

      At this time there's no such release of Qt Creator, the latest being 4.14.

      Please check the version again.
      Also, how did you install it ?
      On which OS ?

      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
      • I Offline
        I Offline
        iojik
        wrote on last edited by
        #3

        Hello, my OS is Windows 10 (recently updated) and I installed QT from the qt.io website through the open-source tab. And yes, I'm sorry, it is 4.14, you're correct.

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Also try to open the ui file with Qt designer (designer.exe in the Qt bin folder). Did you modify the ui file with an editor other than the designer?

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          I 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            Also try to open the ui file with Qt designer (designer.exe in the Qt bin folder). Did you modify the ui file with an editor other than the designer?

            I Offline
            I Offline
            iojik
            wrote on last edited by
            #5

            @Christian-Ehrlicher For some reason, I cannot find the designer.exe file in my bin. Could it be that antivirus has deleted it?

            1 Reply Last reply
            0
            • I Offline
              I Offline
              iojik
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Did you check the Qt Creator folder or the Qt folder globally ?

                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
                • I Offline
                  I Offline
                  iojik
                  wrote on last edited by iojik
                  #8

                  Good evening/morning, posting a week later because I was overworked. I have finally fixed the issue and happy to announce that a solution has been found. Apparently, QT designer was opening a gradient file in C:\users\home\ .designer that caused it to crash. I deleted the gradient file and everything's back to normal. Thank you everyone for your suggestions.

                  1 Reply Last reply
                  1
                  • B Offline
                    B Offline
                    Bad_man
                    wrote on last edited by
                    #9

                    Upper variant works for me as well

                    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