Compile only a specific library from Qt

I want to compile one of the default Qt libraries (QDeclarative) on OSX.

What argument do I need to pass for. / configure for this?

+5
source share
4 answers

This is not a separate component, as far as I know, it depends on QtXML and some other parts of QT in QtCore. Just compile QT for Mac using the cross-platform options in the Evan Teran link located here.

If you want to associate yourself with QtCore, add QT -= guito your .pro file in QtCreator or otherwise specify the removal of the included QtGui by default on your command line.

+2
source

http://doc.qt.nokia.com/4.7-snapshot/configure-options.html. , . , webkit, :

./configure -no-webkit

, , : -/.

+3

, 09'15 Qt 5.5, , docs :

./configure -skip qtconnectivity
+2

? -no-qml -no-multimedia -no-graphics ... , ???

0

All Articles