Added application icon on Windows

p4#: 21221
This commit is contained in:
Magne Sjaastad 2013-04-10 12:01:38 +02:00
parent 927fa6c5e7
commit be8b627e69
3 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,10 @@ set( QRC_FILES
# Runs RCC on specified files # Runs RCC on specified files
qt4_add_resources( QRC_FILES_CPP ${QRC_FILES} ) qt4_add_resources( QRC_FILES_CPP ${QRC_FILES} )
# Adding resource (RC) files for Windows
if ( MSVC )
set( WIN_RESOURCE Resources/ResInsight.rc )
endif()
############################################################################# #############################################################################
# creating PCH's for MSVC and GCC on Linux # creating PCH's for MSVC and GCC on Linux
@ -208,6 +212,7 @@ add_executable(ResInsight
${MOC_FILES_CPP} ${MOC_FILES_CPP}
${FORM_FILES_CPP} ${FORM_FILES_CPP}
${QRC_FILES_CPP} ${QRC_FILES_CPP}
${WIN_RESOURCE}
${HEADER_FILES} ${HEADER_FILES}
) )

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1 @@
IDI_ICON1 ICON "AppLogo48x48.ico"