File indexing completed on 2024-04-21 04:58:16
0001 /* This file is part of the KDE project 0002 SPDX-FileCopyrightText: 1998, 1999 Simon Hausmann <hausmann@kde.org> 0003 SPDX-FileCopyrightText: 2016 David Faure <faure@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "konqapplication.h" 0009 0010 #if QT_VERSION_MAJOR < 6 0011 extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) 0012 #else 0013 int main(int argc, char **argv) 0014 #endif 0015 { 0016 QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); // says QtWebEngine. Note: this must be set before creating the application 0017 KonquerorApplication app(argc, argv); 0018 return app.start(); 0019 }