File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ add_executable(
106106 source /services/text-painter/text_painter.cpp
107107 source /services/theme-loader/theme_loader.cpp
108108 source /services/image-printer/image_printer.cpp
109- source /services/image-downloader/image_downloader.cpp
110109 source /resources/icon.rc
111110)
112111
@@ -178,6 +177,21 @@ if (WIN32 AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
178177 "${QT_INSTALL_PATH} /plugins/printsupport"
179178 "$<TARGET_FILE_DIR:${PROJECT_NAME} >/plugins/printsupport" )
180179 endif ()
180+ add_custom_command (TARGET ${PROJECT_NAME} POST_BUILD
181+ COMMAND ${CMAKE_COMMAND} -E copy
182+ "${QT_INSTALL_PATH} /plugins/imageformats/qjpeg.dll"
183+ "$<TARGET_FILE_DIR:${PROJECT_NAME} >/plugins/imageformats/qjpeg.dll"
184+ )
185+ add_custom_command (TARGET ${PROJECT_NAME} POST_BUILD
186+ COMMAND ${CMAKE_COMMAND} -E copy
187+ "${QT_INSTALL_PATH} /plugins/imageformats/qwbmp.dll"
188+ "$<TARGET_FILE_DIR:${PROJECT_NAME} >/plugins/imageformats/qwbmp.dll"
189+ )
190+ add_custom_command (TARGET ${PROJECT_NAME} POST_BUILD
191+ COMMAND ${CMAKE_COMMAND} -E copy
192+ "${QT_INSTALL_PATH} /plugins/imageformats/qwebp.dll"
193+ "$<TARGET_FILE_DIR:${PROJECT_NAME} >/plugins/imageformats/qwebp.dll"
194+ )
181195 foreach (QT_LIB ${QT_COMPONENTS} )
182196 add_custom_command (TARGET ${PROJECT_NAME} POST_BUILD
183197 COMMAND ${CMAKE_COMMAND} -E copy
You can’t perform that action at this time.
0 commit comments