PDA

View Full Version : Qt4: Missing MainWindow at startup after Installation on other PC



nando76
14th January 2009, 22:46
Hi friends,

i have a really strange problem.
i compiled an application with mingw and self-compiled 4.4.3.

when i start in the folder and on the pc where i compiled, everything works fine.
An empty MainWindow pops up and on top a login dialog to login with username and password. So far so good....

When i copy the binary and all needed DLLs (Qt + mingw) to another Folder or another PC
and then start the same binary the login dialogs comes up, but the main window is missing.

Strange.. isn't it? Same binary, same data... Hmmmmm
Any ideas? some Flags..? some manifest like things ? i am out of ideas.... :confused:

I compiled using qmake....

Bye bye,
Nando

caduel
15th January 2009, 08:47
hard to tell...
maybe you have put absolute path names somewhere?

Try moving the stuff to the same place on the other machine (or to another place on the original machine). If it the error is gone (or the old machine wont work anymore, too), it's a path issue.

HTH