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

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

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 6.0.0
    • None
    • Build System
    • None

      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.

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

            alexandru.croitor Alexandru Croitor
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes