mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/****************************************************************************
|
|
** Copyright (C) 2019-2021 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
|
|
** All rights reserved.
|
|
**
|
|
** This file is part of the KD MacTouchBar library.
|
|
**
|
|
** This file may be distributed and/or modified under the terms of the
|
|
** GNU Lesser General Public License version 3 as published by the
|
|
** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
|
|
**
|
|
** You may even contact us at info@kdab.com for different licensing options.
|
|
**
|
|
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
**
|
|
** Contact info@kdab.com if any conditions of this licensing are not
|
|
** clear to you.
|
|
**
|
|
**********************************************************************/
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include "kdmactouchbar.h"
|
|
|
|
#include "mainwindow.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
QApplication app(argc, argv);
|
|
|
|
// enable automatic message box on touchbar
|
|
KDMacTouchBar::setAutomaticallyCreateMessageBoxTouchBar(true);
|
|
|
|
MainWindow mw;
|
|
mw.show();
|
|
|
|
return app.exec();
|
|
}
|