summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp
blob: 00817d496dfe373e3ff85e16db67ac8c8e663f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#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