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

configure does not properly parse sql options

    XMLWordPrintable

Details

    • All
    • 8a0c86651 (dev), 108162274 (6.8), 9e378d6eb (6.7)

    Description

      configure and configure.bat do not properly pass 'sql<foo>' or 'no-sql<foo>' to cmake or cmake does not properly handle those:

      ../qt.src/qtbase/configure -sql-mysql
      
      '/usr/bin/cmake' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DINPUT_sql_mysql=yes' '-G' 'Ninja' '/home/chehrlic/kde/qt.src/qtbase'
      -- The CXX compiler identification is GNU 13.3.0
      ...
      -- Generating done (0.5s)
      CMake Warning:
        Manually-specified variables were not used by the project:
      
          INPUT_sql_mysql
      

      I would say it's a problem of configure and not cmake because it's working fine for e.g. gif:

      chehrlic@chris-laptop-vm:~/kde/qt.build-tmp> ../qt.src/qtbase/configure -no-gif
      '/usr/bin/cmake' '-DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE' '-DFEATURE_gif=OFF' '-G' 'Ninja' '/home/chehrlic/kde/qt.src/qtbase'
      

      Here -no-gif is correctly translated to -DFEATURE_gif=OFF

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change