PDA

View Full Version : Blank screen if exe file is run as standalone



rawfool
9th January 2012, 06:31
I created a small application using Qt Quick which works fine when I run in Qt creator. This simulation needs to be sent across for evaluation. So I need to send that as an executable which can be run as a standalone app.

I copied all the necessary dll's from C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin to the release folder of my project.exe. Then if I run the exe, a blank white screen pops up.
But if I run the sample QLabel "Hello World" example, then it works fine.

I need some help regarding this. Thank you.

Lykurg
9th January 2012, 07:52
Without any informations, I can only guess that you use images. Make sure you also deliver the image plugins alongside the application.

rawfool
9th January 2012, 08:38
I didn't use any images. I'm attaching my source for your reference. Thank you