Skip to content

Commit

Permalink
try: windows icon #2
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvukhang committed Feb 1, 2023
1 parent 4946d1d commit f8698e1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ ui_*.h
qrc_*.cpp
Thumbs.db
*.res
*.rc
/.qmake.cache
/.qmake.stash

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ option(BUILD_STATIC_LIBS ON)
option(BUILD_SHARED_LIBS OFF)

if(WIN32)
set(APP_ICON_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR}/deploy/canvas-sync.qrc")
set(APP_ICON_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR}/appicon.rc")
set(PROJECT_SOURCES ${PROJECT_SOURCES} ${APP_ICON_WINDOWS})
elseif(APPLE)
set(APP_ICON_MACOS "${CMAKE_CURRENT_SOURCE_DIR}/deploy/canvas-sync.icns")
Expand Down
Binary file added appicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions appicon.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "appicon.ico"

0 comments on commit f8698e1

Please sign in to comment.