Opening mainwindow.ui in Windows strange error..
-
So i was having a qt project in Ubuntu, i copied to Windows 7, and when i try to open mainwindow.ui
-
You'll need to provide a little more information than that, I'm afraid.
-
Hmm, maybe you didn't set any text in a MessageBox??
Like mlong says, more info is needed, now it is just guessing. -
What is the app supposed to look like? Is there a message box in the Ubuntu app?
-
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 -
"here youtube video":http://www.youtube.com/watch?v=lUW_qLet-N8
-
Can you post the .ui file?
Edit to add:
Just had a thought... what happens when you open the .ui in designer, not creator?
-
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?
-
Anyone? Does the ui have something or just Windows is the crapiest OS in the world?
-
There is no difference in using Qt Designer on any operating system. Start Designer and open your UI file.
-
[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)! -
[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.
-
I am newbie in windows.. i can't open the qt designer.. could you help me?
-
Can you share the offending .ui file somehow? Perhaps upload it somewhere where we can download it from?
-
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 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?
-
[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. -
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@ -
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?
-
(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.exeThis is the designer (in my machine).