fix: missing app icon under windows
This commit is contained in:
parent
3f91d8271b
commit
b5dc020795
|
@ -35,6 +35,10 @@ set (PPIC_QRC_FILES
|
||||||
resources.qrc
|
resources.qrc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set (PPIC_RC_FILES
|
||||||
|
# yeah, it's empty.
|
||||||
|
)
|
||||||
|
|
||||||
set (EXE_NAME ppic)
|
set (EXE_NAME ppic)
|
||||||
|
|
||||||
# Translation
|
# Translation
|
||||||
|
@ -43,10 +47,15 @@ set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
|
||||||
|
|
||||||
qt5_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
|
qt5_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
list(APPEND PPIC_RC_FILES pineapple-pictures.rc)
|
||||||
|
endif ()
|
||||||
|
|
||||||
add_executable (${EXE_NAME}
|
add_executable (${EXE_NAME}
|
||||||
${PPIC_HEADER_FILES}
|
${PPIC_HEADER_FILES}
|
||||||
${PPIC_CPP_FILES}
|
${PPIC_CPP_FILES}
|
||||||
${PPIC_QRC_FILES}
|
${PPIC_QRC_FILES}
|
||||||
|
${PPIC_RC_FILES}
|
||||||
${PPIC_QM_FILES}
|
${PPIC_QM_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
1
pineapple-pictures.rc
Normal file
1
pineapple-pictures.rc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IDI_ICON1 ICON DISCARDABLE "icons/app-icon.ico"
|
Loading…
Reference in New Issue
Block a user