mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 18:40:13 -06:00
Fix Windows Vista style when using Qt 5.10 and up
Since Qt 5.10, the Windows Vista style has been moved to its own plugin. This plugin must be included in order to show the new style. It will be included for the 64-bit build only for now, since we are using a different Qt version (5.7) for the 32-bit build. See #1580.
This commit is contained in:
@@ -50,6 +50,18 @@
|
||||
<Merge Id="VCRedist" SourceFile="$(var.VCRedistPath)\$(var.VCRedistFile)" DiskId="1" Language="0" />
|
||||
<Directory Id="$(var.ProgramFilesFolder)">
|
||||
<Directory Id="INSTALLDIR" Name="$(var.Name)">
|
||||
<!--
|
||||
This DLL is required when using Qt 5.10 and higher to show Windows Vista style GUI. The check for
|
||||
64-bit is required here since we are using Qt 5.7 for the 32-bit build. This file does not exist
|
||||
on earlier version of Qt. If Qt 5.10 is used for both 32-bit and 64-bit then this check can be removed.
|
||||
|
||||
See https://bugreports.qt.io/browse/QTBUG-65177
|
||||
-->
|
||||
<?if $(sys.BUILDARCH)="x64"?>
|
||||
<Directory Id="styles" Name="styles">
|
||||
<Component><File Source="$(var.QtPath)\plugins\styles\qwindowsvistastyle.dll" /></Component>
|
||||
</Directory>
|
||||
<?endif?>
|
||||
<Directory Id="imageformats" Name="imageformats">
|
||||
<Component><File Source="$(var.QtPath)\plugins\imageformats\qgif.dll" /></Component>
|
||||
<Component><File Source="$(var.QtPath)\plugins\imageformats\qicns.dll" /></Component>
|
||||
@@ -131,6 +143,10 @@
|
||||
<ComponentRef Id="qwebp.dll" />
|
||||
<!-- Platforms -->
|
||||
<ComponentRef Id="qwindows.dll" />
|
||||
<!-- Windows Vista Style -->
|
||||
<?if $(sys.BUILDARCH)="x64"?>
|
||||
<ComponentRef Id="qwindowsvistastyle.dll" />
|
||||
<?endif?>
|
||||
<!-- Printer -->
|
||||
<ComponentRef Id="windowsprintersupport.dll" />
|
||||
<!-- Licenses -->
|
||||
|
||||
Reference in New Issue
Block a user