summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/linguist/test_i18n_filter_autogen_files/app1/main.cpp
blob: 21db50503460eff480421384aae19fcbd5257aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QtCore/QCoreApplication>

#include "ui_mainwindow.h"

class MyObject : public QObject
{
    Q_OBJECT
public:
    MyObject(QObject *parent = nullptr)
        : QObject(parent)
    {
        qDebug() << tr("Hello from app1!");
    }
};

int main(int argc, char *argv[])
{
    QCoreApplication app(argc, argv);
    MyObject obj;
    Ui::MainWindow wnd;
    app.exec();
}

#include "main.moc"