diff --git a/Source/Core/DolphinLib.vcxproj b/Source/Core/DolphinLib.vcxproj index 5bcd4b1e89..e8cf2f4c7b 100644 --- a/Source/Core/DolphinLib.vcxproj +++ b/Source/Core/DolphinLib.vcxproj @@ -77,11 +77,6 @@ Common\build_info.txt.in $(BinaryOutputDir)build_info.txt - - - false - - diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 3dfc00e5be..5767c6c28a 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -388,6 +388,12 @@ add_executable(dolphin-mpn WiiUpdate.h ) +if (WIN32) + target_sources(dolphin-mpn PRIVATE + Styles/Dark/dark.qrc + ) +endif() + if (NOT WIN32) target_sources(dolphin-mpn PRIVATE QtUtils/SignalDaemon.cpp diff --git a/Source/Core/DolphinQt/DolphinQt.vcxproj b/Source/Core/DolphinQt/DolphinQt.vcxproj index 18107c6c4a..022db86cd2 100644 --- a/Source/Core/DolphinQt/DolphinQt.vcxproj +++ b/Source/Core/DolphinQt/DolphinQt.vcxproj @@ -45,14 +45,10 @@ Use pch_qt.h pch_qt.h - false DolphinQt.manifest;%(AdditionalManifestFiles) - - false - diff --git a/Source/Core/DolphinQt/Settings/InterfacePane.cpp b/Source/Core/DolphinQt/Settings/InterfacePane.cpp index 08137f68b2..06aac545da 100644 --- a/Source/Core/DolphinQt/Settings/InterfacePane.cpp +++ b/Source/Core/DolphinQt/Settings/InterfacePane.cpp @@ -140,6 +140,12 @@ void InterfacePane::CreateUI() m_combobox_userstyle->addItem(tr("System"), static_cast(Settings::StyleType::System)); + // TODO: Support forcing light/dark on other OSes too. +#ifdef _WIN32 + m_combobox_userstyle->addItem(tr("Light"), static_cast(Settings::StyleType::Light)); + m_combobox_userstyle->addItem(tr("Dark"), static_cast(Settings::StyleType::Dark)); +#endif + for (const std::string& path : userstyle_search_results) { const QFileInfo file_info(QString::fromStdString(path)); diff --git a/Source/VSProps/QtCompile.props b/Source/VSProps/QtCompile.props index b36b8e072b..fb89cf5d05 100644 --- a/Source/VSProps/QtCompile.props +++ b/Source/VSProps/QtCompile.props @@ -113,8 +113,7 @@ - - +