Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon to Windows executable #570

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"