| 1 |
// Copyright (C) 2023 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
#include "lib1.h" |
| 5 |
|
| 6 |
MyObject1::MyObject1(QObject *parent) |
| 7 |
: QObject(parent) |
| 8 |
{ |
| 9 |
} |
| 10 |
|
| 11 |
QString MyObject1::greeting() const |
| 12 |
{ |
| 13 |
return tr("Hello from MyObject1!"); |
| 14 |
} |