Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
d4b7acec4 (dev), 463d23245 (dev), 0e56dd274 (dev), 1e5252f82 (dev), 1858e6c7b (dev), 03a0e0696 (dev), 5818f97e7 (dev), b53c1bd4f (dev), 7b0c003dd (dev), 32c9e3f6f (dev), 2aca1b0e9 (dev), 593fd306e (6.10), e16695f23 (6.9), ab33784d8 (tqtc/lts-6.8)
Description
With https://codereview.qt-project.org/c/qt/qtbase/+/344693 merged, each CMake test project needs a snippet added to it, to allow opening the project in an IDE like Qt Creator, without having to use qt-cmake-standalone-test to initially configure the project and then manually import the build directory into Creator.
The snippet should look like
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
project(a_qt_test LANGUAGES C CXX ASM)
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
Adding a VERSION to project() might be needed for certain tests.
Attachments
Issue Links
- is required for
-
QTBUG-94220 Update dependencies on 'dev' in qt/qtquickcontrols2 fails
-
- Closed
-
- relates to
-
QTBUG-95272 manual tests should be buildable standalone
-
- Reported
-
-
QTBUG-108319 qt-cmake-standalone-test produces build artifacts in build_dir
-
- Reported
-
-
QTCREATORBUG-25389 Can't use manual tests from Creator
-
- Closed
-
-
QTBUG-110241 "/6.5.0/Src/qtbase/tests/manual/permissions/CMakeLists.txt:4: error: Unknown CMake command "qt_internal_add_test"." while trying to configure test "qtbase/tests/manual/permissions"
-
- Closed
-
- mentioned in
-
Page Loading...