blob: 0dc07784e90df822cdff62964f19f92746176e44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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 <QtCore/qfile.h>
namespace leaf_lib {
bool isResourceAvailable()
{
return QFile::exists(u":/resource2.txt"_qs);
}
} // namespace
|