summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.cpp
blob: a8f2be69552b63f0364e83d95cffa5ae608c9904 (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

#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