Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Does Qt Creator use the /GS, /DYNAMICBASE and /NXCOMPAT in VC++?
Forum Updated to NodeBB v4.3 + New Features

Does Qt Creator use the /GS, /DYNAMICBASE and /NXCOMPAT in VC++?

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    muhahaa
    wrote on last edited by
    #1

    Does Qt Creator use the /GS (stack buffer overrun check), /DYNAMICBASE (address space layout randomization) and /NXCOMPAT (data execution prevention) when building a project with VC++ tools?

    EDIT: Moved to tools, Gerolf

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Which flags are used can be seen in:

      <QtSDK Path>\Desktop\Qt\4.7.3\msvc2008\mkspecs\win32-msvc2005\qmake.conf

      If you need different settings, just change it there (and perhaps recompile Qt).

      If you only need these flags for your projects, set them in the .pro file.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #3

        Qt Creator does not set compiler settings itself. It uses those defined in your Qt installation (see Gerolf's post for the details).

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved