PDA

View Full Version : executable file not working



duma
30th August 2011, 20:15
So i have finally finished creating my gui in Qt and finished writing all the code. But when i run the executable, the gui application pops up, but nothing is working in the window i.e. the pushbuttons don't function, the combo boxes have no items etc. It seems like none of the code is executing.
How ever when click build and run in Qt Creator, everything works fine.
And when i run the executable in terminal, it works fine.
I'm not sure what is wrong. any help would be appreciated.

wysota
30th August 2011, 21:17
I'm wondering what exactly you're expecting us to do.

duma
30th August 2011, 21:23
I'm wondering what exactly you're expecting us to do.

Any suggestions as to why that is happening/ how to fix it?

wysota
30th August 2011, 21:37
Well... probably there is something wrong with your code or with your computer :)

ChrisW67
31st August 2011, 01:13
A summary:

It works in the IDE with the Qt libraries and Qt plugins available in the relevant PATH/locations
It works from with the Qt libraries and Qt plugins available in the relevant PATH/locations
It does not work fully, but does start, when deployed.

Given that it runs at all I would venture the deployed environment has the Qt libraries available. Given that bits of the application are failing my guess is that the deployed environment is missing the required SQL, image format, icon format, and other plugins.

wysota
31st August 2011, 07:48
Or the app gets stuck in some endless loop.