Qt 4.8 - Build and install a single module
Is there a way to make and install only the Qt opengl module.
I installed and built Qt 4.8 a while ago without the opengl module, but I am starting to work on a project that needs Qt's opengl module. I'm trying to avoid rebuilding all of Qt 4.8 if possible.
How did you do that ?
I don't remember the exact
configurecommand I called, but you can do the following:
tar xzf qt-everywhere-opensource-src-4.8.6.tgz cd qt-everywhere-opensource-src-4.8.6 ./configure -no-opengl -prefix ~/Qt/4.8.6./gcc make make install
I think the -no-opengl argument is the defualt.
It's not the default. However, that option doesn't disable a module, it disable the use of OpenGL globally. You have to rebuild Qt.