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

Modify the configure script in qtbase to invoke cmake

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:

      Description

      When doing qtbase builds, Coin extracts the sources and automatically calls configure and make.

      To start doing some initial CMake builds on the CI, we could modify the configure script to skip all the usual things it does, and simply create a build dir and invoke the CMake binary. This would require the work in QTBUG-74138 to be done first.

      I think a nice scenario would be for the script to pass through parameters that are cmake related (-DFOO=bar) and look for Qt-style options such as -foo bar. For the latter, I think that we should parse them and decide to either

      (1) determine that it's a supported option that we can map easily to cmake (such as -developer-build, -prefix, -datadir, etc. for which we have corresponding cmake cache variables)

      (2) determine that it is a known "old" Qt option but now we don't support mapping it automatically anymore (maybe it doesn't make sense anymore) and instead display the config_help.txt contents.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              villevoutilainen_qt Ville Voutilainen
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes