Results 1 to 5 of 5

Thread: how to exclude few libraries from existing QT source code?

  1. #1
    Join Date
    Oct 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Smile how to exclude few libraries from existing QT source code?

    Hi all,

    I'm a beginner in QT. I will have to exclude around 8 libraries like QTNetwork, QtOpenGL etc.. Is it enough if i remove the respective source code and recompile? Give me some basic idea for where to start from?

    (Please help i'm a fresher and its my very first project)

    Thanks in advance,
    Nivditha

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to exclude few libraries from existing QT source code?

    I guess OpenGL can be disabled by specifying "-no-opengl" switch to configure script (as many others). However, -no-network switch doesn't exist.

    Why would you want to exclude them from compilation? Why are you trying to do?
    I'm a rebel in the S.D.G.

  3. #3
    Join Date
    Oct 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to exclude few libraries from existing QT source code?

    Our project requirement is like that. we are supposed to test the functionalities of QT, once these libraries are excluded.

  4. #4
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to exclude few libraries from existing QT source code?

    I think you can try to modify src/src.pro file and exclude network from subdirs. But I don't know for sure whether this will work.
    I'm a rebel in the S.D.G.

  5. #5
    Join Date
    Oct 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to exclude few libraries from existing QT source code?

    Thanks for your suggestion. Will try it.

    Regards,
    Nivditha.

Similar Threads

  1. Replies: 2
    Last Post: 17th April 2010, 17:40
  2. Where is the source code?
    By Fletcher in forum Newbie
    Replies: 1
    Last Post: 10th December 2009, 21:45
  3. Source code
    By afflictedd2 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2008, 10:04
  4. source code
    By Colx007 in forum Newbie
    Replies: 5
    Last Post: 19th December 2007, 10:15
  5. Qte source code
    By Gaurav vyas in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 1st July 2007, 15:11

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.