Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating a file .pdb in release builds.
Forum Updated to NodeBB v4.3 + New Features

Creating a file .pdb in release builds.

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.0k 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.
  • T Offline
    T Offline
    Trikrista
    wrote on last edited by
    #1

    How to create a file .pdb in release builds? (Qt5.4.0, compiler VS 2010)

    I'm sorry for my bad English

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Trikrista
      wrote on last edited by
      #2

      I solved this problem by adding a .pro file lines
      @
      QMAKE_LFLAGS_RELEASE += /DEBUG -Zi
      @

      I'm sorry for my bad English

      1 Reply Last reply
      0
      • B Offline
        B Offline
        billconan
        wrote on last edited by
        #3

        I think your solution is wrong.

        -Zi is a compiler flag,
        /Debug is a linker flag.

        so the right way to do is this:

        QMAKE_CXXFLAGS += /Zi
        QMAKE_LFLAGS_RELEASE += /DEBUG

        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