diff --git a/tests/auto/corelib/text/qregexp/CMakeLists.txt b/tests/auto/corelib/text/qregexp/CMakeLists.txt index e14979d7fe..257e87a684 100644 --- a/tests/auto/corelib/text/qregexp/CMakeLists.txt +++ b/tests/auto/corelib/text/qregexp/CMakeLists.txt @@ -4,7 +4,21 @@ ## tst_qregexp Test: ##################################################################### -add_qt_test(tst_qregexp +qt_add_test(tst_qregexp SOURCES tst_qregexp.cpp ) + +# Resources: +set(qregexp_resource_files + "data/qdatastream_4.9.bin" + "data/qdatastream_5.0.bin" +) + +qt_add_resource(tst_qregexp "qregexp" + PREFIX + "/" + FILES + ${qregexp_resource_files} +) +