Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm Developing QT and I want to know how to build static libraries.

Well, I searched a lot. But the Reason I asked is that I've installed these from Synaptic:

libqt4-core
libqt4-gui
libqt4-qt3support
libqt4-sql
qt4-designer
qt4-dev-tools
qt4-qtconfig

Thanks for answering.

share|improve this question
1  
Do you want to link those libraries statically into your application? Why? –  Adam Byrtek Apr 4 '11 at 20:39
add comment

1 Answer

up vote 0 down vote accepted

You could say:

$ ./configure --help

In help description you may find

--enable-static

option. Than's possibly the one you need.

$ ./configure --enable-static
$ make
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.