Smithy Qt 0.1.0-pre
Internal development documentation
Loading...
Searching...
No Matches
textlee.h
1// SPDX-FileCopyrightText: 2013-2025 Paul Colby <git@colby.id.au>
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
4#ifndef QTSMITHY_TEXTLEE_H
5#define QTSMITHY_TEXTLEE_H
6
7#if defined USE_CUTELEE
8namespace Textlee = Cutelee;
9#elif defined USE_GRANTLEE
10namespace Textlee = Grantlee;
11#elif defined USE_KTEXTTEMPLATE
12namespace Textlee = KTextTemplate;
13#else
14#error No valid text templating library configured.
15#endif
16
17#if defined USE_CUTELEE + defined USE_GRANTLEE + defined USE_KTEXTTEMPLATE > 1
18#error More than one text templating library macro defined.
19#endif
20
21#endif // QTSMITHY_TEXTLEE_H