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. Qt designer freezes after opening dialog [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Qt designer freezes after opening dialog [SOLVED]

Scheduled Pinned Locked Moved General and Desktop
designerfreezeqdialogmodal dialog
16 Posts 2 Posters 8.0k Views 2 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.
  • mrjjM mrjj

    @predejtor

    Hmm it must be something with QT Creator
    itself or support libraries.

    Maybe you could clone your virtual machine and install/reinstall QT just to check if something is wrong.

    I will try to paste into a ubuntu Qt Creator just to check if linux version is happy with your file too.

    update:
    Opens file fine in qt 5.5 on ubuntu.

    D Offline
    D Offline
    deleted331
    wrote on last edited by
    #7

    @mrjj
    Thank you for investigation. It may be the problem with VM, but I am not the person who manages it. Can it be the problem with Qt Creator config? If yes, what files should I look for?

    mrjjM 1 Reply Last reply
    0
    • D deleted331

      @mrjj
      Thank you for investigation. It may be the problem with VM, but I am not the person who manages it. Can it be the problem with Qt Creator config? If yes, what files should I look for?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #8

      @predejtor

      Well it seems to be a problem with QT Creator since the xml file seems valid and can be loaded in both win and linux.

      So I assume something wrong with the Creator installation.

      I am not aware of any config that would affect the reading of UI files as it is
      a integrated part of Creator.

      Would it be possible for you to create a snapshot of the WM and then reinstall qt?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted331
        wrote on last edited by
        #9

        I have to ask administrators of the VM if it is possible. Many thanks for your time.

        mrjjM 1 Reply Last reply
        0
        • D deleted331

          I have to ask administrators of the VM if it is possible. Many thanks for your time.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #10

          @predejtor

          It is possible to install qt with no root access

          http://www.qtcentre.org/threads/23225-Installing-Qt-without-root-privileges

          You could install a new qt to a new folder in /home and run it from there but to be on the safe side,
          it is best to have a backup of what you have now.

          One question.
          If you make a new UI file and then insert control to it, it will also start to crash Creator ?

          D 1 Reply Last reply
          0
          • mrjjM mrjj

            @predejtor

            It is possible to install qt with no root access

            http://www.qtcentre.org/threads/23225-Installing-Qt-without-root-privileges

            You could install a new qt to a new folder in /home and run it from there but to be on the safe side,
            it is best to have a backup of what you have now.

            One question.
            If you make a new UI file and then insert control to it, it will also start to crash Creator ?

            D Offline
            D Offline
            deleted331
            wrote on last edited by
            #11

            @mrjj
            I created new UI form and could modify it without problems (eg. add buttons). However when I put the xml code from previous dialog freeze occurred again - so I suppose something is wrong with this form's nodes.

            mrjjM 1 Reply Last reply
            0
            • D deleted331

              @mrjj
              I created new UI form and could modify it without problems (eg. add buttons). However when I put the xml code from previous dialog freeze occurred again - so I suppose something is wrong with this form's nodes.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #12

              @predejtor
              Just strange that the same xml works fine here.
              But I guess if you can just recreate the dialogs and it works, it a fix.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                deleted331
                wrote on last edited by
                #13

                I have found what was the real problem. This issue occurred only on Dialog windows. I set for them 'modality' - ApplicationModal and that was the problem I was looking for. After removing this property from xml file everything is fine.
                It seems to be a bug.

                mrjjM 1 Reply Last reply
                0
                • D deleted331

                  I have found what was the real problem. This issue occurred only on Dialog windows. I set for them 'modality' - ApplicationModal and that was the problem I was looking for. After removing this property from xml file everything is fine.
                  It seems to be a bug.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #14

                  @predejtor
                  Nice found!

                  Not sure where in the shown xml this is ?

                  remember to flag as solved :)

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    deleted331
                    wrote on last edited by
                    #15

                    After removing property "windowModality" freeze is not occurring again

                    <ui version="4.0" >
                     <class>CreateExecutionDialog</class>
                     <widget class="QDialog" name="CreateExecutionDialog" >
                      <property name="windowModality" >
                       <enum>Qt::ApplicationModal</enum>
                      </property>
                      <property name="geometry" >
                    ...
                    

                    System: CentOS 5.5
                    QT version: 4.2.1

                    1 Reply Last reply
                    0
                    • mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #16

                      @predejtor said:

                      Ahh that way. Thank you.

                      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