Results 1 to 4 of 4

Thread: Compile and install only the libraries

  1. #1
    Join Date
    Jun 2007
    Posts
    28
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Compile and install only the libraries

    Hi guys,
    i need to crosscompile the QT libraries.
    Typing 'make sub-src' the scripts generate only the libraries but when i type 'make install' the scripts also compile and install the examples and other stuffs !!!
    How can i only install the libraries (also to save a lot of compilation time ...) ??

    Thanks !!
    SteM

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compile and install only the libraries

    Take a look in your generated Makefile. For me (on windows) it's 'make sub-src-install_subtargets-ordered'

  3. The following user says thank you to ChristianEhrlicher for this useful post:

    SteM (3rd August 2007)

  4. #3
    Join Date
    Jun 2007
    Posts
    28
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compile and install only the libraries

    Yes !!

    Thanks a lot !!!!
    SteM

  5. #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: Compile and install only the libraries

    At least the X11 version of the configure script also accepts "-nomake demos" and "-nomake examples" parameters.
    J-P Nurmi

Similar Threads

  1. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 19:15

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.