Results 1 to 4 of 4

Thread: Disabling Modules

  1. #1
    Join Date
    Jun 2011
    Posts
    203
    Thanks
    7
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Disabling Modules

    Hi, in the documentaiton it's stated that QtCore and QtGui modules are automatically included. It's also stated that a module is simply a library. Question is... why would you want to disable -=gui for example (apart from for example not needing to use it in your application)... just to speed up compilation?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Disabling Modules

    Compilation speed would not help if it end with errors, so it's only for the case when you don't use gui in your application.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Disabling Modules

    Quote Originally Posted by Atomic_Sheep View Post
    Hi, in the documentaiton it's stated that QtCore and QtGui modules are automatically included. It's also stated that a module is simply a library. Question is... why would you want to disable -=gui for example (apart from for example not needing to use it in your application)... just to speed up compilation?
    To reduce dependencies and size of the deployment bundle.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Jun 2011
    Posts
    203
    Thanks
    7
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Disabling Modules

    Thanks guys.

Similar Threads

  1. Qt modules on Win
    By Maluko_Da_Tola in forum Newbie
    Replies: 3
    Last Post: 25th July 2010, 12:24
  2. do we have ffmpeg like in qt/qt-modules
    By h123 in forum Qt Programming
    Replies: 4
    Last Post: 9th January 2010, 03:09
  3. QWidget and Qt Modules
    By sandros in forum Qt Programming
    Replies: 7
    Last Post: 21st August 2007, 22:56
  4. Qt modules
    By ber_44 in forum Qt Programming
    Replies: 3
    Last Post: 30th May 2007, 22:10
  5. Qt and Apache modules
    By Matt Smith in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2006, 11:56

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.