[Qt-interest] Wish to compile only QtCore,QtSQL, and QtNetwork

Raul Metsma raul at innovaatik.ee
Thu Oct 29 09:18:08 CET 2009


I edited configure script and replaced on line 4804
"exit 1" width "#exit 1"
and after running configure execute
make sub-tools-bootstrap
make sub-moc
make sub-rcc
make sub-corelib
make sub-network
make sub-sql

Raul Metsma

David Boosalis wrote:
> Thanks for the advise Paul.  I tried to do that with 4.6 beta release 
> but the configure script crapped out when it could not find X 
> installed.  I tried to download a few X packages to satisfy it but gave 
> up (to quickly ) with apt-get as I could not seem to download enough of 
> X to make it work.
> 
> I've moved to qt-4.5.3 embedded and ran configure with the option 
> -platform qws/linux-x86_64-g++.  This seems to be building. 
> 
> The same configure option (-platform qws/linux-x86_64-g++) for Qt 4.6 
> (from git). It was still looking for X11 and would not work.    I could 
> not find any qt-4.6 embedded. 
> 
> Does anyone know where I can find qt-4.6 embedded. Snap shot or repository
> 
> Thanks
> David
> 
> 
> 
> 
> On Thu, Oct 29, 2009 at 12:37 AM, Paul Colby <qt at colby.id.au 
> <mailto:qt at colby.id.au>> wrote:
> 
>     Try configuring as normal, then:
> 
>     make sub-corelib sub-network sub-sql
> 
>     that should compile only the bits you want... (fingers crossed).
> 
>     pc.
> 
>     On Thu, Oct 29, 2009 at 6:16 PM, David Boosalis
>     <david.boosalis at gmail.com <mailto:david.boosalis at gmail.com>> wrote:
>      > Hi I have a server running Ubuntu Server 9.04.  X is not
>     installed and I
>      > wish to configure and build Qt 4.6 prerelease without any GUI
>     module.  That
>      > is I want the Core, SQL, and Networking modules only.  It seems
>     one cannot
>      > do this with standard configure options.  I've not been able to
>     find any
>      > flags in mkspecs for turning off QtGui from the build.  Does
>     anybody know
>      > how I can build Qt without the GUI library
>      >
>      > Thanks
>      > David
>      >
>      > _______________________________________________
>      > Qt-interest mailing list
>      > Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
>      > http://lists.trolltech.com/mailman/listinfo/qt-interest
>      >
>      >
> 
> 
> 
>     --
>     http://colby.id.au
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list