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. Opening mainwindow.ui in Windows strange error..
Forum Updated to NodeBB v4.3 + New Features

Opening mainwindow.ui in Windows strange error..

Scheduled Pinned Locked Moved General and Desktop
26 Posts 6 Posters 8.6k 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.
  • L Offline
    L Offline
    Leon
    wrote on last edited by
    #1

    So i was having a qt project in Ubuntu, i copied to Windows 7, and when i try to open mainwindow.ui

    !http://i.imgur.com/uM9OT.png(image)!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      You'll need to provide a little more information than that, I'm afraid.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        Hmm, maybe you didn't set any text in a MessageBox??
        Like mlong says, more info is needed, now it is just guessing.

        Greetz, Jeroen

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          What is the app supposed to look like? Is there a message box in the Ubuntu app?

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Leon
            wrote on last edited by
            #5

            Hello sorry.. i am trying to open mainwindow.ui at the designer.. not debug the application.. the debugging works perfect.. do you want me to record it and upload at yt?

            Qt Creator 2.4.1
            Based on Qt 4.7.4 (32 bit)
            Windows 7 32 bit

            1 Reply Last reply
            0
            • L Offline
              L Offline
              Leon
              wrote on last edited by
              #6

              "here youtube video":http://www.youtube.com/watch?v=lUW_qLet-N8

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mlong
                wrote on last edited by
                #7

                Can you post the .ui file?

                Edit to add:

                Just had a thought... what happens when you open the .ui in designer, not creator?

                Software Engineer
                My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Leon
                  wrote on last edited by
                  #8

                  Sure, "here":http://www.mediafire.com/?a5mabafs9s302c2

                  edit: i am not familiar with windows, so i can't open it with qt designer only, how can i?

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Leon
                    wrote on last edited by
                    #9

                    Anyone? Does the ui have something or just Windows is the crapiest OS in the world?

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      goetz
                      wrote on last edited by
                      #10

                      There is no difference in using Qt Designer on any operating system. Start Designer and open your UI file.

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        Leon
                        wrote on last edited by
                        #11

                        [quote author="Volker" date="1348657686"]There is no difference in using Qt Designer on any operating system. Start Designer and open your UI file.[/quote]

                        well that's what i say.. there is no difference.. i open qt creator, i try to open the ui file, and the messagebox in the 1st post appears.. why, what can i do to solve this?

                        edit: does this help u in order for me to solve the problem?
                        !http://i.imgur.com/ek8mK.png(1)!

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          goetz
                          wrote on last edited by
                          #12

                          [quote author="Leon" date="1348658317"][quote author="Volker" date="1348657686"]There is no difference in using Qt Designer on any operating system. Start Designer and open your UI file.[/quote]

                          well that's what i say.. there is no difference.. i open qt creator, i try to open the ui file, and the messagebox in the 1st post appears.. why, what can i do to solve this?
                          [/quote]

                          Use Qt Designer to remove the button or whatever manipulation you need to do. Once you're done, save the file and recompile your project.

                          http://www.catb.org/~esr/faqs/smart-questions.html

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            Leon
                            wrote on last edited by
                            #13

                            I am newbie in windows.. i can't open the qt designer.. could you help me?

                            !http://i.imgur.com/2Tx3Q.jpg(123)!

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              andre
                              wrote on last edited by
                              #14

                              Can you share the offending .ui file somehow? Perhaps upload it somewhere where we can download it from?

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                goetz
                                wrote on last edited by
                                #15

                                It should be somewhere in the directory where you have installed Qt in. Probably there should be entries in the start menu too. As I always use self compiled Qt libs, I cannot assist further where to look. It depends on whether you use the libs or the SDK, too.

                                http://www.catb.org/~esr/faqs/smart-questions.html

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  Leon
                                  wrote on last edited by
                                  #16

                                  [quote author="Andre" date="1348659200"]Can you share the offending .ui file somehow? Perhaps upload it somewhere where we can download it from?[/quote]

                                  "here":http://www.mediafire.com/?a5mabafs9s302c2

                                  [quote author="Volker" date="1348659219"]It should be somewhere in the directory where you have installed Qt in. Probably there should be entries in the start menu too. As I always use self compiled Qt libs, I cannot assist further where to look. It depends on whether you use the libs or the SDK, too.[/quote]

                                  i can't find anything in C:\Program Files... as said , i am not familiar with windows

                                  Should i download an SDK?

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    andre
                                    wrote on last edited by
                                    #17

                                    [quote author="Leon" date="1348659438"][quote author="Andre" date="1348659200"]Can you share the offending .ui file somehow? Perhaps upload it somewhere where we can download it from?[/quote]

                                    "here":http://www.mediafire.com/?a5mabafs9s302c2
                                    [/quote]
                                    It loads without an issue here.
                                    [quote]
                                    [quote author="Volker" date="1348659219"]It should be somewhere in the directory where you have installed Qt in. Probably there should be entries in the start menu too. As I always use self compiled Qt libs, I cannot assist further where to look. It depends on whether you use the libs or the SDK, too.[/quote]

                                    i can't find anything in C:\Program Files... as said , i am not familiar with windows

                                    Should i download an SDK?*

                                    [/quote]

                                    We can't guess where you installed Qt, and how. I think the default location is something like C:\QtSdk
                                    I found a designer.exe in
                                    Desktop\Qt<version>\bin under my QtSDK directory.

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      Leon
                                      wrote on last edited by
                                      #18

                                      well i tried to open designer.exe

                                      !http://i.imgur.com/aYAqi.png(1)!

                                      It is in greek and it says: blabla.dll is missing. try reinstalling

                                      let me download this dll, but anywho qt wan't supposed to have this file on the installation?

                                      edit: http://stackoverflow.com/questions/4702732/the-program-cant-start-because-libgcc-s-dw2-1-dll-is-missing
                                      @i believe this is a MinGW/gcc compiler issue@

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        andre
                                        wrote on last edited by
                                        #19

                                        It does have it, just not in the location of the designer.exe. Can't you just open your .ui file directly from QtCreator? Or do you then end up with the empty dialog again?

                                        1 Reply Last reply
                                        0
                                        • B Offline
                                          B Offline
                                          broadpeak
                                          wrote on last edited by
                                          #20

                                          (First: install a full Qt into your machine.)

                                          Start this first:
                                          Windows Start Menu >> All Programs >> Qt SDK >> Desktop >> Qt 4.8.1..... (C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\qtenv2.bat)

                                          And in the opened command line start this:
                                          c:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\designer.exe

                                          This is the designer (in my machine).

                                          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