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. Build QT DLLs in debug without d
Forum Updated to NodeBB v4.3 + New Features

Build QT DLLs in debug without d

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 5 Posters 501 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.
  • S Offline
    S Offline
    Sparx23
    wrote on last edited by
    #1

    Hi All,

    I would like to build the QT DLLs using msvc in debug configuration on Windows but without the "d" at the end. I did not figure out where I could change that. Any advice would be highly appreciated!
    (Just renaming them is of course not working as they link against each other using the "d" filename.

    Best regards,
    Oliver

    R cristian-adamC 2 Replies Last reply
    0
    • S Sparx23

      Hi All,

      I would like to build the QT DLLs using msvc in debug configuration on Windows but without the "d" at the end. I did not figure out where I could change that. Any advice would be highly appreciated!
      (Just renaming them is of course not working as they link against each other using the "d" filename.

      Best regards,
      Oliver

      cristian-adamC Online
      cristian-adamC Online
      cristian-adam
      wrote on last edited by
      #4

      If you build Qt yourself you can set the CMAKE_DEBUG_POSTFIX value to nothing, and that should get you want you want.

      Otherwise change qtbase/cmake/QtSetup.cmake to remove the "d" value.

      S 1 Reply Last reply
      1
      • T Offline
        T Offline
        Tim.Jenssen
        wrote on last edited by
        #2

        I can not imagine any reason to do that. If you need debug info for release just use that build type.

        1 Reply Last reply
        4
        • S Sparx23

          Hi All,

          I would like to build the QT DLLs using msvc in debug configuration on Windows but without the "d" at the end. I did not figure out where I could change that. Any advice would be highly appreciated!
          (Just renaming them is of course not working as they link against each other using the "d" filename.

          Best regards,
          Oliver

          R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #3

          @Sparx23 https://doc.qt.io/qt-6/configure-options.html

          look up for -release during configure.


          Declaration of (Platform) independence.

          1 Reply Last reply
          0
          • S Sparx23

            Hi All,

            I would like to build the QT DLLs using msvc in debug configuration on Windows but without the "d" at the end. I did not figure out where I could change that. Any advice would be highly appreciated!
            (Just renaming them is of course not working as they link against each other using the "d" filename.

            Best regards,
            Oliver

            cristian-adamC Online
            cristian-adamC Online
            cristian-adam
            wrote on last edited by
            #4

            If you build Qt yourself you can set the CMAKE_DEBUG_POSTFIX value to nothing, and that should get you want you want.

            Otherwise change qtbase/cmake/QtSetup.cmake to remove the "d" value.

            S 1 Reply Last reply
            1
            • cristian-adamC cristian-adam

              If you build Qt yourself you can set the CMAKE_DEBUG_POSTFIX value to nothing, and that should get you want you want.

              Otherwise change qtbase/cmake/QtSetup.cmake to remove the "d" value.

              S Offline
              S Offline
              Sparx23
              wrote on last edited by
              #5

              @cristian-adam said in Build QT DLLs in debug without d:

              Otherwise change qtbase/cmake/QtSetup.cmake to remove the "d" value.

              Thanks, that's what I was looking for!

              Christian EhrlicherC 1 Reply Last reply
              0
              • S Sparx23

                @cristian-adam said in Build QT DLLs in debug without d:

                Otherwise change qtbase/cmake/QtSetup.cmake to remove the "d" value.

                Thanks, that's what I was looking for!

                Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #6

                You will get a lot of problems and strange crashes when mixing debug and release libraries accidentally. So using the same name is for sure not a way to go.

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                4
                • aha_1980A aha_1980 has marked this topic as solved on

                • Login

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