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

Fix qt-cmake-standalone-test to work when reconfiguring a test

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • None
    • Build System: CMake

      After successfully configuring a test using qt-cmake-standalone-test, a subsequent reconfiguration (touching the cmakelists.txt file for example) will fail, due to us modifying the CMAKE_INSTALL_PREFIX so we don't try to install the test into either the system or into Qt, and as a result the StandaloneTestsConfig.cmake files are not found anymore, and configuration fails with a can't find qt6_process_resource error.

      We need to come up with a way to modify CMAKE_INSTALL_PREFIX, while keeping reconfiguration working.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes