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

Can't build QMYSQL on latest CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 6.8.1
    • None
    • Windows

    Description

      v6.8.0 works v6.8.1 throws this:

       

      – Found MySQL: C:/optx64/MySQL/lib/libmysql.lib
      – Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
      – Could NOT find Oracle (missing: Oracle_LIBRARY Oracle_INCLUDE_DIR)
      – Found ODBC: odbc32.lib
      – Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY)
      – Could NOT find Interbase (missing: Interbase_LIBRARY Interbase_INCLUDE_DIR)
      – Could NOT find Mimer (missing: Mimer_LIBRARIES Mimer_INCLUDE_DIR)
      CMake Warning (dev) at E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2584 (cmake_parse_arguments):
        The PACKAGE_NAME keyword was followed by an empty string or no value at
        all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
        arg_PACKAGE_NAME variable rather than setting it to an empty string.
      Call Stack (most recent call first):
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:1926 (_qt_internal_sbom_record_target_spdx_id)
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPluginHelpers.cmake:446 (_qt_internal_extend_sbom)
        mysql/CMakeLists.txt:8 (qt_internal_add_plugin)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Error at E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2552 (message):
        No SBOM project name was set.
      Call Stack (most recent call first):
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2542 (_qt_internal_sbom_get_root_project_name_lower_case)
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2636 (_qt_internal_sbom_get_root_project_name_for_spdx_id)
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2603 (_qt_internal_sbom_generate_target_package_spdx_id)
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:1926 (_qt_internal_sbom_record_target_spdx_id)
        E:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPluginHelpers.cmake:446 (_qt_internal_extend_sbom)
        mysql/CMakeLists.txt:8 (qt_internal_add_plugin)

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              silverq Silver Zachara
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes