Results 1 to 3 of 3

Thread: QT4, no GUI

  1. #1
    Join Date
    Sep 2006
    Posts
    68
    Thanks
    15
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QT4, no GUI

    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?

  2. #2
    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: QT4, no GUI

    I'm not sure but perhaps you can pass "-nomake gui" to configure?
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QT4, no GUI

    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)
    Katrina Niolet

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.