summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/main.cpp
blob: f3e2a9d027fe8bb6dada6efe9ce84c4d7054fb50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include "mainwindow.h"

#include <QApplication>
#include <QLoggingCategory>

using namespace Qt::StringLiterals;

int main(int argc, char *argv[])
{
    QLoggingCategory::setFilterRules(u"qt.canbus* = true"_s);
    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    return a.exec();
}