What do I have to put in the .pro file so qmake creates a Makefile that adds -static to the gcc and g++ compilation and linking commands?
What do I have to put in the .pro file so qmake creates a Makefile that adds -static to the gcc and g++ compilation and linking commands?
this works for me:
also you have to compile static qt libraries in order to compile your application.
Bookmarks