PDA

View Full Version : problem on static linking in Linux.



anupamgee
29th May 2009, 13:15
hi All,
I want static linking my application on linux(fedora 9).I installed qt 4.5 open source for linux.
then to statically link it, i ran ./configure -static ,then make and make -install.all commands ran succesfully.this installed qt static version in /usr/local/Trolltech/Qt 4.5.1
Then i set the PATH to /usr/local/Trolltech/Qt 4.5.1/bin.
After this when i compile my qt application using qmake-project,qmake & make,it succesfuly compiled but when i run the binary formed,it doesn't run.
plz tell where i made a mistake??
what to do now??
thnx

Lykurg
29th May 2009, 13:45
if you start your app on console, is there any output? Used CONFIG += static in your pro file?