PDA

View Full Version : QT4, no GUI



December
30th March 2008, 16:23
I have been searching for hours for a way to compile QT4.3 on a machine without any X11 stuff, so basically without the GUI and SVG components.

My app uses only non-GUI classes as it's a serve, and the co-located machine I want to install it on has no XWindows stuff installed.

Surely there has to be a way to do it?

jpn
30th March 2008, 16:25
I'm not sure but perhaps you can pass "-nomake gui" to configure?

katrina
30th March 2008, 18:27
Unless something has changed recently, the only way to do it is to edit the Qt project files and remove the GUI parts. You _may_ be able to get by using "make sub-corelib" to just build Qt Core, though I have never tried it that way.

(there are also sub-moc, sub-rcc, sub-uic, sub-xml, sub-gui, sub-sql, sub-network, sub-svg, sub-script, sub-opengl, sub-qt3support, sub-uic3, and sub-plugins make targets)