Skip to content

Tests: Add missing guards on Qt4 and Qt5 tests

Brad King requested to merge brad.king/cmake:test-qt-disable into master

Add missing CMake_TEST_Qt{4,5} conditions on Qt4 an Qt5 tests. Configuring CMake with -DCMake_TEST_Qt5=OFF should prevent any attempt to search for Qt5.

Fixes: #23239 (closed)
Backport: release

Merge request reports