Unsolved Build only corelib and gui?
-
Do you know if there's a way to only compile corelib and gui from qtbase without the rest? I found this old mail from @paul-colby but it doesn't seem to work...
-
Hi,
From the configure script, I think you can only disable widgets with
-no-widgets
.Maybe you can try with the new QtLite configuration system ?
-
Thanks, that's actually a good suggestion, unfortunately doesn't apply to my case as I'm trying to compile on a service that requires open source (hence, I can't use Qt Lite) but times out after 50mins
-
AFAIK, the editor itself is part of the commercial offering. The configuration system itself is available for all Qt versions.
I don't remember how exactly QtLite is working but I think you should be able to create your feature configuration and somehow pass it to the configure script.
-
Don't know exactly what you want to do but doing a 'make install' inside corelib and gui should only install those two components...
-
@Christian-Ehrlicher Hi, no I want to build a patched version of corelib and gui without re-building the rest
-
Then you need the exact compiler switches used for the binaries which can get difficult. And even then - just configure and only compile inside those two subdirectories.
-
@VRonin as @SGaist mentioned the configuration system is open source, so you may want to take a look at this blog entry along with this QtWS17 presentation from the same person.