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.6k 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.
  • M mrjj
    20 Jul 2015, 15:51

    @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 20 Jul 2015, 15:58 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?

    M 1 Reply Last reply 20 Jul 2015, 16:08
    0
    • D deleted331
      20 Jul 2015, 15:58

      @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?

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 20 Jul 2015, 16:08 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 20 Jul 2015, 16:14 last edited by
        #9

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

        M 1 Reply Last reply 20 Jul 2015, 18:51
        0
        • D deleted331
          20 Jul 2015, 16:14

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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 20 Jul 2015, 18:51 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 21 Jul 2015, 09:31
          0
          • M mrjj
            20 Jul 2015, 18:51

            @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 21 Jul 2015, 09:31 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.

            M 1 Reply Last reply 21 Jul 2015, 19:00
            0
            • D deleted331
              21 Jul 2015, 09:31

              @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.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 21 Jul 2015, 19:00 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 22 Jul 2015, 14:21 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.

                M 1 Reply Last reply 22 Jul 2015, 14:24
                0
                • D deleted331
                  22 Jul 2015, 14:21

                  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.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 22 Jul 2015, 14:24 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 22 Jul 2015, 14:30 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
                    • M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 22 Jul 2015, 14:32 last edited by
                      #16

                      @predejtor said:

                      Ahh that way. Thank you.

                      1 Reply Last reply
                      0

                      16/16

                      22 Jul 2015, 14:32

                      • Login

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