PDA

View Full Version : How to make qt add -static to g++ and gcc commands



xample
4th November 2009, 14:27
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?

smacchia
4th November 2009, 19:08
this works for me:

CONFIG += static

alisami
5th November 2009, 13:52
also you have to compile static qt libraries in order to compile your application.