mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
parent
c9569fae24
commit
bbdf0732ad
5 changed files with 13 additions and 11 deletions
|
@ -77,11 +77,6 @@
|
|||
<BuildInfoTemplate>Common\build_info.txt.in</BuildInfoTemplate>
|
||||
<BuildInfoOutput>$(BinaryOutputDir)build_info.txt</BuildInfoOutput>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<TreatWarningAsError>false</TreatWarningAsError>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="$(BuildInfoTemplate)" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -45,14 +45,10 @@
|
|||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch_qt.h</PrecompiledHeaderFile>
|
||||
<ForcedIncludeFiles>pch_qt.h</ForcedIncludeFiles>
|
||||
<TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</TreatWarningAsError>
|
||||
</ClCompile>
|
||||
<Manifest>
|
||||
<AdditionalManifestFiles>DolphinQt.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
|
||||
</Manifest>
|
||||
<Link>
|
||||
<TreatLinkerWarningAsErrors Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</TreatLinkerWarningAsErrors>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="AboutDialog.cpp" />
|
||||
|
|
|
@ -140,6 +140,12 @@ void InterfacePane::CreateUI()
|
|||
|
||||
m_combobox_userstyle->addItem(tr("System"), static_cast<int>(Settings::StyleType::System));
|
||||
|
||||
// TODO: Support forcing light/dark on other OSes too.
|
||||
#ifdef _WIN32
|
||||
m_combobox_userstyle->addItem(tr("Light"), static_cast<int>(Settings::StyleType::Light));
|
||||
m_combobox_userstyle->addItem(tr("Dark"), static_cast<int>(Settings::StyleType::Dark));
|
||||
#endif
|
||||
|
||||
for (const std::string& path : userstyle_search_results)
|
||||
{
|
||||
const QFileInfo file_info(QString::fromStdString(path));
|
||||
|
|
|
@ -113,8 +113,7 @@
|
|||
<QtDllNames Include="@(QtDllNames_ -> '%(Identity)$(QtLibSuffix).dll')" />
|
||||
<QtDllsSrc Include="@(QtDllNames -> '$(QtBinDir)%(Identity)')" />
|
||||
<QtDllsDst Include="@(QtDllNames -> '$(BinaryOutputDir)%(Identity)')" />
|
||||
|
||||
<QtPluginNames_ Include="iconengines\qsvgicon;imageformats\qsvg;platforms\qdirect2d;platforms\qwindows;styles\qmodernwindowsstyle"/>
|
||||
<QtPluginNames_ Include="iconengines\qsvgicon;imageformats\qsvg;platforms\qdirect2d;platforms\qwindows;styles\qwindowsvistastyle"/>
|
||||
<QtPluginNames Include="@(QtPluginNames_ -> '%(Identity)$(QtLibSuffix).dll')" />
|
||||
<QtPluginsSrc Include="@(QtPluginNames -> '$(QtPluginsDir)%(Identity)')" />
|
||||
<QtPluginsDst Include="@(QtPluginNames -> '$(BinaryOutputDir)$(QtPluginFolder)\%(Identity)')" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue