Explorar el Código

Install additional dll on Windows to get better style for Qt

Ivan Savenko hace 2 años
padre
commit
6379c5f6fa
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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()