瀏覽代碼

Install additional dll on Windows to get better style for Qt

Ivan Savenko 2 年之前
父節點
當前提交
6379c5f6fa
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -506,6 +506,9 @@ if(WIN32)
 				FILES ${integration_loc}
 				DESTINATION ${BIN_DIR}/platforms
 			)
+			install(
+				FILES "$<TARGET_FILE:Qt${QT_VERSION_MAJOR}::QWindowsVistaStylePlugin>" 
+				DESTINATION ${BIN_DIR}/styles) 
 		endif()
 	endif()