qt6/guiwrapper/main.cpp
raw| 1 | /* |
| 2 | * SPDX-FileCopyrightText: 2012~2017 CSSlayer <[email protected]> |
| 3 | * SPDX-FileCopyrightText: 2017~2017 xzhao <[email protected]> |
| 4 | * |
| 5 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 | */ |
| 7 | |
| 8 | #include "wrapperapp.h" |
| 9 | #include <QCommandLineParser> |
| 10 | #include <locale.h> |
| 11 | |
| 12 | int main(int argc, char *argv[]) { |
| 13 | setlocale(LC_ALL, ""); |
| 14 | QGuiApplication::setAttribute(Qt::AA_ShareOpenGLContexts); |
| 15 | fcitx::WrapperApp app(argc, argv); |
| 16 | app.init(); |
| 17 | return app.exec(); |
| 18 | } |