Results 1 to 8 of 8

Thread: Qt 4.3.3 - Server build without QtGui?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.3.3 - Server build without QtGui?

    Oops, sorry. After configuring, try:
    Qt Code:
    1. make -C src sub-corelib
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.3 - Server build without QtGui?

    Quote Originally Posted by jpn View Post
    Oops, sorry. After configuring, try:
    Qt Code:
    1. make -C src sub-corelib
    To copy to clipboard, switch view to plain text mode 
    That must work... But he first needs to modify configure to skip all X11 related tests.

  3. #3
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.3 - Server build without QtGui?

    I did it modifying the .pro files in qt source directory.
    I added SUBDIRS -= gui to $QTDIR/src/src.pro, SUBDIRS -= iconengines imageformats inputmethod styles to $QTDIR/src/plugins/plugins.pro, and some more in $QTDIR/tools directory (for example SUBDIRS -= assistant designer linguist to tools.pro).

    Then configure as usual, and make.
    If you get errors, you should only find out what subdir needs to be excluded by compilation.

    This way I got Qt working with network, sql, xml modules.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt 4.3.3 - Server build without QtGui?

    Quote Originally Posted by marcel View Post
    That must work... But he first needs to modify configure to skip all X11 related tests.
    Does he? Doesn't configure look for X extensions? As far as I remember they're not mandatory. And there are a bunch of -no-xthis and -no-xthat switches too...
    J-P Nurmi

Similar Threads

  1. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 13:18
  2. Build an HTTP server
    By the_bis in forum Qt Programming
    Replies: 4
    Last Post: 30th March 2007, 07:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.