get this working again
This commit is contained in:
parent
26d0a6f2d0
commit
fd84613db5
|
@ -273,7 +273,8 @@ endif
|
||||||
# Qt
|
# Qt
|
||||||
|
|
||||||
ifeq ($(HAVE_QT_WRAPPER), 1)
|
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
|
LIBS += -lwrapper
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -152,6 +152,10 @@ UI
|
||||||
#include "../ui/drivers/qt/ui_qt_application.cpp"
|
#include "../ui/drivers/qt/ui_qt_application.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_QT_WRAPPER)
|
||||||
|
#include "../ui/drivers/ui_qt.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
VIDEO DRIVER
|
VIDEO DRIVER
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
|
@ -30,7 +30,7 @@ ApplicationWindow {
|
||||||
initialPage: Page {
|
initialPage: Page {
|
||||||
id: page
|
id: page
|
||||||
|
|
||||||
title: "RetroArch"
|
title: "QT!"
|
||||||
|
|
||||||
tabs: navDrawer.enabled ? [] : sectionTitles
|
tabs: navDrawer.enabled ? [] : sectionTitles
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,12 @@
|
||||||
#include "../../config.h"
|
#include "../../config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_QT_WRAPPER
|
||||||
#include "ui_qt.h"
|
|
||||||
#include "qt/wrapper/wrapper.h"
|
#include "qt/wrapper/wrapper.h"
|
||||||
|
#else
|
||||||
|
#include "ui_qt.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../ui_companion_driver.h"
|
#include "../ui_companion_driver.h"
|
||||||
#include "../../core.h"
|
#include "../../core.h"
|
||||||
#include "../../configuration.h"
|
#include "../../configuration.h"
|
||||||
|
@ -151,9 +154,16 @@ const ui_companion_driver_t ui_companion_qt = {
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
#ifdef HAVE_QT_WRAPPER
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
#else
|
||||||
&ui_browser_window_qt,
|
&ui_browser_window_qt,
|
||||||
&ui_msg_window_qt,
|
&ui_msg_window_qt,
|
||||||
&ui_window_qt,
|
&ui_window_qt,
|
||||||
&ui_application_qt,
|
&ui_application_qt,
|
||||||
|
#endif
|
||||||
"qt",
|
"qt",
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
|
|
||||||
static const ui_companion_driver_t *ui_companion_drivers[] = {
|
static const ui_companion_driver_t *ui_companion_drivers[] = {
|
||||||
|
#ifdef HAVE_QT_WRAPPER
|
||||||
|
&ui_companion_qt,
|
||||||
|
#endif
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
&ui_companion_win32,
|
&ui_companion_win32,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue