Qt 4.8 - Build and install a single module
-
wrote on 6 Apr 2015, 18:29 last edited by
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.
-
Hi,
How did you do that ?
-
wrote on 6 Apr 2015, 20:33 last edited by
I don't remember the exact
configure
command 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.
1/4