How can I link glibc statically with qt

Posted by yan bellavance on Stack Overflow See other posts from Stack Overflow or by yan bellavance
Published on 2010-03-19T00:41:44Z Indexed on 2010/03/19 1:21 UTC
Read the original article Hit count: 370

Filed under:
|
|
|

I have built a static version of qt and download a static version of glibc. Now I would like to link glibc statically to my qt application. I know about going into the .pro and adding the line LIBS += -L path/to/static_lib but I am wondering if these that is enough? Will it still link glibc statically even though the OS I am building on has the dynamic libraries also? The reason I am doing this is to deploy the application in a standalone manner. (After installing and updating Red Hat 5.3 glibc_2.9 was not found on the target computer)

© Stack Overflow or respective owner

Related posts about qt

Related posts about linux