Results 1 to 4 of 4

Thread: what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

  1. #1
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

    what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

    QT_NO_DEBUG means that the build is without debugging support. This results in a smaller executable.

    QT_SHARED means that Qt is not statically linked (to the executable?)

    QT_THREAD_SUPPORT means that Qt is build with supports for threading.

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

    Pushpa Kumari K.H (22nd February 2007)

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

    Default Re: what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

    Thanks for the clearification
    So a followup question: who are these options for? I cant find a -D option in make and so far also not in qmake.

  5. #4
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: what are options -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT used for?

    They will be generated in makefile

    hope it clarifies your doubt,
    Bala

Similar Threads

  1. Zoom Options
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 11:19

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.