Is there a way to use the windows version of the built-in icons in linux?
-
The qt built-in icons are quite different between windows and linux. Some of the windows icons are suitable for our purpose while the linux icons are not. Is there a way to get a linux build to use the windows versions of the built-in icons?
Windows version:
Linux version:
-
@james-b-s You mean the stuff that's get returned from
QStyle::standardIcon
?It is platform theme specific. From a cursory look in the source code, the icons on Windows are collected from various Win32 APIs, but most of them seem to be in the resource fork of
shell32.dll
(and other system DLLs). I guess you could extract them from there, but I doubt the Windows EULA allows re-distribution of them.If consistency between platforms is important, best bet is to choose a suitable licensed open source (or commercial) icon set and bundle it with your application.
-
The qt built-in icons are quite different between windows and linux. Some of the windows icons are suitable for our purpose while the linux icons are not. Is there a way to get a linux build to use the windows versions of the built-in icons?
Windows version:
Linux version:
@james-b-s copy the windows icons into your project and set them statically.
-
@james-b-s You mean the stuff that's get returned from
QStyle::standardIcon
?It is platform theme specific. From a cursory look in the source code, the icons on Windows are collected from various Win32 APIs, but most of them seem to be in the resource fork of
shell32.dll
(and other system DLLs). I guess you could extract them from there, but I doubt the Windows EULA allows re-distribution of them.If consistency between platforms is important, best bet is to choose a suitable licensed open source (or commercial) icon set and bundle it with your application.
-