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

Assistant not built in static Qt builds due to incorrect FEATURE_sql_sqlite condition

    XMLWordPrintable

Details

    • fbc98a84e737ad543d8aca0c89edca132b86aa42 (qt/qttools/dev) 76094964825d94f750d698dbf3aca2c4fabf1d44 (qt/qttools/6.1)

    Description

      See https://codereview.qt-project.org/c/qt/qttools/+/304209/6/src/CMakeLists.txt#24

      The assistant subdirectory is not added if FEATURE_sql_sqlite is false and Qt is a static build.

      The FEATURE_sql_sqlite variable is never set in a per-repo build, because the feature is not exported on the Sql target. The sqldrivers/configure.cmake file is never associated to the Sql target, and thus none of the sqldrivers features are ever recorded / exported.
      Presumably this was on purpose, because the sqldrivers folder is meant to build as a standalone project as well.

      The sql plugin features are not exported in qmake Qt 5.15 builds as well.

      We should find what's the appropriate CMake condition for qmake's 'contains(QT_PLUGINS, qtsqlite) , because checking for the feature currently worn't work.

      Attachments

        For Gerrit Dashboard: QTBUG-92033
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes