Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73925 CMake Port: Milestone 1
  3. QTBUG-75090

Support building tests with an installed Qt which was built with cmake

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Fix Version/s: 6.0.0
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      All

      Description

      Currently tests can only be built as part of the initial qtbase build stage.

      This is a problem, because Coin expects to build qtbase, install it, package it, and then in a separate Coin step, extract the installed qtbase package, and build tests against the unpackaged (installed) qtbase.

      For this to work we would have to do a couple of things:
      1) Install any required cmake modules (like QtBuild, which is actually currently installed, but some other ones are not).

      2) Modify those modules to allow building tests as part of a separate cmake invocation against an installed qt (so do necessary changes in add_qt_test).

      3) Modify the root tests CMakeLists.txt file to support building tests both inside the initial qtbase built tree, or against an installed qtbase.

      This is slightly related to QTBUG-74713.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                alexandru.croitor Alexandru Croitor
                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