summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp')
-rw-r--r--tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp
new file mode 100644
index 0000000000..a8f2be6955
--- /dev/null
+++ b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp
@@ -0,0 +1,20 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include "leaf_lib.h"
+
+#include <QtCore/qfile.h>
+
+namespace intermediate_lib {
+
+bool isLeafLibResourceAvailable()
+{
+ return leaf_lib::isResourceAvailable();
+}
+
+bool isResourceAvailable()
+{
+ return QFile::exists(u":/resource3.txt"_qs);
+}
+
+} // namespace