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

[QMYSQL] Can't build/install debug configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.6.1
    • None
    • Windows

    Description

      This problem started I thing from 6.6.0? I'm not sure, if I define the 
      CMAKE_BUILD_TYPE:STRING=Debug it builds and installs the Release configuration, I must define it lowercase like CMAKE_BUILD_TYPE:STRING=debug then it works file.
       
      A few weeks ago I exactly knew where the problem was but I forgot to save the location. Currently, only the debug and DEBUG words work, the Debug doesn't.
      I'm using this command to build the QMYSQL driver:
       
      qt-cmake `
          -S "C:/Qt/$QtVersion/Src/qtbase/src/plugins/sqldrivers" `
          -B . `
          -G Ninja `
          -D CMAKE_BUILD_TYPE:STRING=Debug `
          -D CMAKE_INSTALL_PREFIX:PATH="C:/Qt/$QtVersion/msvc2019_64" `
          -D MySQL_INCLUDE_DIR:PATH="${Script:MySqlServerPath}/include" `
          -D MySQL_LIBRARY:FILEPATH="${Script:MySqlServerPath}/lib/libmysql.lib" `
          -D FEATURE_sql_psql:BOOL=OFF `
          -D FEATURE_sql_odbc:BOOL=OFF `
          -D FEATURE_sql_sqlite:BOOL=OFF

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              silverq Silver Zachara
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes