summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/linguist/test_i18n_exclusion/apps/app1/main.cpp
blob: 820d827442df68b6bf19176f3260ff29e458d9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QCoreApplication>
#include "lib1.h"
#include "lib2.h"
#include "subdir2/excluded4.cpp"

int main(int argc, char **argv)
{
    QCoreApplication app(argc, argv);
    auto obj1 = new MyObject1(&app);
    auto obj2 = new MyObject2(&app);
    qDebug() << QCoreApplication::translate("app1", "Hello from app1!")
             << obj1->greeting()
             << obj2->greeting()
             << WossName::greeting();
    return app.exec();
}