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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: