@Bonnie said in add EXE Icon:
Did you not make it?
Yes I did now :)
Thank you so much for your helping
IDI_ICON1 ICON "Resources/images/myapp.ico".rc file has been created by notepad
set(APP_ICON_RESOURCE_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR}/icon.rc") if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) qt_add_executable(MyApp MANUAL_FINALIZATION ${PROJECT_SOURCES} ${QM_FILES} ${APP_ICON_RESOURCE_WINDOWS} ... icon.rc )