| 1 |
// Copyright (C) 2023 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
#include <QCoreApplication> |
| 5 |
#include <QDebug> |
| 6 |
#include "lib1.h" |
| 7 |
#include "lib2.h" |
| 8 |
#include "subdir2/excluded4.cpp" |
| 9 |
|
| 10 |
int main(int argc, char **argv) |
| 11 |
{ |
| 12 |
QCoreApplication app(argc, argv); |
| 13 |
auto obj1 = new MyObject1(&app); |
| 14 |
auto obj2 = new MyObject2(&app); |
| 15 |
qDebug() << QCoreApplication::translate("app1", "Hello from app1!") |
| 16 |
<< obj1->greeting() |
| 17 |
<< obj2->greeting() |
| 18 |
<< WossName::greeting(); |
| 19 |
return app.exec(); |
| 20 |
} |