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
    #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
            • L Offline
              L Offline
              Leon
              wrote on last edited by
              #21

              [quote author="Andre" date="1348660151"]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?[/quote]

              yes i end up with the same error in first post

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

                [quote author="broadpeak" date="1348660168"](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).
                [/quote]

                what you mean first install a full qt in your machine.. don't i already have it?

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

                  [quote author="Leon" date="1348660373"]
                  what you mean first install a full qt in your machine.. don't i already have it?
                  [/quote]

                  Microsoft Windows doesn't contain Qt at all!
                  You have to download and install the Qt (https://qt-project.org/downloads) in Windows.

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

                    [quote author="broadpeak" date="1348660649"]
                    [quote author="Leon" date="1348660373"]
                    what you mean first install a full qt in your machine.. don't i already have it?
                    [/quote]

                    Microsoft Windows doesn't contain Qt at all!
                    You have to download and install the Qt (https://qt-project.org/downloads) in Windows.[/quote]

                    and how can you see screenshots of me using qt if i haven't it installed?
                    yes ofcourse i have dowloaded qt from that link..
                    your previous solution opens the designer.. but i can't do that everytime i need to edit my ui file..
                    i want to have it all in qtcreator...

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

                      Noone knows a solution?
                      Even if i edit the mainwidnow.ui with the designer, nothing will have changed if i debug the application..

                      I am forced 3 days now, to go to ubuntu, developer it there and test it in windows.. :/

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

                        [quote author="Leon" date="1348817613"]Noone knows a solution?
                        Even if i edit the mainwidnow.ui with the designer, nothing will have changed if i debug the application..

                        I am forced 3 days now, to go to ubuntu, developer it there and test it in windows.. :/[/quote]

                        You should tell us, what you did so far. What did you download and what did you install?

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

                        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