File tree Expand file tree Collapse file tree 5 files changed +159
-1
lines changed Expand file tree Collapse file tree 5 files changed +159
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
23
23
find_package (QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets Charts )
24
24
find_package (Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets Charts )
25
25
26
+ set (APP_ICON_RESOURCE_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR} /resources/win.rc" )
27
+
26
28
set (PROJECT_SOURCES
27
29
src/main.cpp
28
30
src/mainwindow.cpp
@@ -38,6 +40,7 @@ set(PROJECT_SOURCES
38
40
src/abmarker.h src/abmarker.cpp
39
41
src/callout.h src/callout.cpp
40
42
resources/icons.qrc
43
+ ${APP_ICON_RESOURCE_WINDOWS}
41
44
)
42
45
43
46
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6 )
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ createShortCut "$SMPROGRAMS\${APPNAME}.lnk" \
117
117
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " UninstallString" " $\" $INSTDIR\uninstall.exe$\" "
118
118
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " QuietUninstallString" " $\" $INSTDIR\uninstall.exe$\" /S"
119
119
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " InstallLocation" " $\" $INSTDIR$\" "
120
- WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " DisplayIcon" " $\" $INSTDIR\logo .ico$\" "
120
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " DisplayIcon" " $\" $INSTDIR\DataExplorer .ico$\" "
121
121
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " Publisher" " Jan Sundermeyer"
122
122
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " HelpLink" " $\" ${HELPURL}$\" "
123
123
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" " URLUpdateInfo" " $\" ${UPDATEURL}$\" "
Original file line number Diff line number Diff line change
1
+ IDI_ICON1 ICON DISCARDABLE "DataExplorer.ico"
You can’t perform that action at this time.
0 commit comments