src/platform/qt/main.cpp (view raw)
1/* Copyright (c) 2013-2014 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#include "GBAApp.h"
7#include "Window.h"
8
9#ifdef QT_STATIC
10#include <QtPlugin>
11#ifdef _WIN32
12Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
13#ifdef BUILD_QT_MULTIMEDIA
14Q_IMPORT_PLUGIN(QWindowsAudioPlugin);
15#endif
16#endif
17#endif
18
19int main(int argc, char* argv[]) {
20 QGBA::GBAApp application(argc, argv);
21 return application.exec();
22}