forked from mfreiholz/Qt-Advanced-Docking-System
-
Notifications
You must be signed in to change notification settings - Fork 638
Open
Labels
Description
all button svgs cannot show except tabs-menu-button.svg, using default configurtion.
OS: windows 11,
Qt Version: Qt 6.6.2 with all modules installed
My Solution
It seems that the CMAKELists.txt miss some qt6 module/dlls configuration. And it seems that qt6 default doesn't support svg image formats.
-
Add Qt6::svg, Qt6::SvgWidgets to CMakeLists.txt
-
Copy "C:\Qt\6.6.2\msvc2019_64\plugins\imageformats\qsvg.dll" to ${PROJECT_ROOT}\cmake-build-release\plugins\imageformats
Then it works:
BA7LYA