Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120436

sqldrivers always build in release

    XMLWordPrintable

Details

    • Windows
    • 5b5fa7b75 (dev), e07404343 (6.7), 683dca194 (6.6), 82ff75fed (tqtc/lts-6.5), 49902cc6c (dev), 22ffc088e (6.7), 4afb6fbd6 (6.6), 1ba8b8d39 (tqtc/lts-6.5)

    Description

      it seems Sqldrivers are always getting build in release mode even though -DCMAKE_BUILD_TYPE=Debug is passed.

      To reproduce try to build mysql driver plugin

      build-sqldrivers>cmake -G Ninja C:\dev\qt-everywhere-src-6.6.1\qtbase\src\plugins\sqldrivers -DCMAKE_INSTALL_PREFIX=C:\dev\install\6.6.1 -DMySQL_INCLUDE_DIR="C:\Program Files\MySQL\MySQL Server 8.0\include" -DMySQL_LIBRARY="C:\Program Files\MySQL\MySQL Server 8.0\lib" -DCMAKE_BUILD_TYPE=Debug 

       

      If you open generated CMakeCache.txt you can see CMAKE_BUILD_TYPE is Release.

      //Choose the type of build.
      CMAKE_BUILD_TYPE:STRING=Release

      Attachments

        1. log.txt
          4.68 MB
          Irfan Omair

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              irfan.omair@digia.com Irfan Omair
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: