1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

get this working again

This commit is contained in:
radius 2016-11-19 21:19:56 -05:00
parent 26d0a6f2d0
commit fd84613db5
5 changed files with 22 additions and 4 deletions

View File

@ -273,7 +273,8 @@ endif
# Qt
ifeq ($(HAVE_QT_WRAPPER), 1)
LIBS += -lQt5Quick -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -L./ui/drivers/qt/obj/
OBJ += ui/drivers/ui_qt.o
LIBS += -lQt5Quick -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -L./ui/drivers/qt/build/release/
LIBS += -lwrapper
endif

View File

@ -152,6 +152,10 @@ UI
#include "../ui/drivers/qt/ui_qt_application.cpp"
#endif
#if defined(HAVE_QT_WRAPPER)
#include "../ui/drivers/ui_qt.cpp"
#endif
/*============================================================
VIDEO DRIVER
============================================================ */

View File

@ -30,7 +30,7 @@ ApplicationWindow {
initialPage: Page {
id: page
title: "RetroArch"
title: "QT!"
tabs: navDrawer.enabled ? [] : sectionTitles

View File

@ -26,9 +26,12 @@
#include "../../config.h"
#endif
#include "ui_qt.h"
#ifdef HAVE_QT_WRAPPER
#include "qt/wrapper/wrapper.h"
#else
#include "ui_qt.h"
#endif
#include "../ui_companion_driver.h"
#include "../../core.h"
#include "../../configuration.h"
@ -151,9 +154,16 @@ const ui_companion_driver_t ui_companion_qt = {
NULL,
NULL,
NULL,
#ifdef HAVE_QT_WRAPPER
NULL,
NULL,
NULL,
NULL,
#else
&ui_browser_window_qt,
&ui_msg_window_qt,
&ui_window_qt,
&ui_application_qt,
#endif
"qt",
};

View File

@ -28,6 +28,9 @@
static const ui_companion_driver_t *ui_companion_drivers[] = {
#ifdef HAVE_QT_WRAPPER
&ui_companion_qt,
#endif
#if defined(_WIN32) && !defined(_XBOX)
&ui_companion_win32,
#endif