mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 00:58:00 -05:00
yuzu/CMakeLists: Remove qt5_wrap_ui macro usage
We can simply enable CMAKE_AUTOUIC and let CMake take care of handling the UI code generation for targets. As part of letting CMake automatically handle the header file parsing, we must not name includes with "ui_*" unless they're related to the output of the Qt UIC compiler. Because of this, we need to rename ui_settings, given it would conflict with this restriction.
This commit is contained in:
15
src/yuzu/uisettings.cpp
Normal file
15
src/yuzu/uisettings.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "yuzu/uisettings.h"
|
||||
|
||||
namespace UISettings {
|
||||
|
||||
const Themes themes{{
|
||||
{"Default", "default"},
|
||||
{"Dark", "qdarkstyle"},
|
||||
}};
|
||||
|
||||
Values values = {};
|
||||
} // namespace UISettings
|
Reference in New Issue
Block a user