Skip to content

Commit

Permalink
Add icon to Windows executable (#570)
Browse files Browse the repository at this point in the history
fixes #560
  • Loading branch information
t-sommer authored Aug 21, 2024
1 parent ff1e03f commit 82afc3a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fmusim-gui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ui_*.h
qrc_*.cpp
Thumbs.db
*.res
*.rc
#*.rc
/.qmake.cache
/.qmake.stash

Expand Down
2 changes: 2 additions & 0 deletions fmusim-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
ModelVariablesTreeModel.h ModelVariablesTreeModel.cpp
AbstractModelVariablesModel.h AbstractModelVariablesModel.cpp
PlotUtil.h PlotUtil.cpp

resources/app-icon.rc
)

target_include_directories(fmusim-gui PRIVATE
Expand Down
Binary file added fmusim-gui/resources/app-icon.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions fmusim-gui/resources/app-icon.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
IDI_ICON1 ICON DISCARDABLE "app-icon.ico"

0 comments on commit 82afc3a

Please sign in to comment.