Quote Originally Posted by FS Lover View Post
how to pass that option to Qt's build system?
You can pass that option with QMAKE_LFLAGS.

With the command line:
qmake QMAKE_LFLAGS+=-static-libgcc -config release

Or adding QMAKE_LFLAGS+=-static-libgcc in your .pro file.