Skip to content

Commit

Permalink
Fix icon installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
good-bye committed Dec 10, 2023
1 parent c85a48c commit 437caa8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion QtWebEngineApplication/QtWebEngineApplication.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ SOURCES += main.cpp
RESOURCES += qml.qrc

target.path = $$PREFIX/bin
icon.path = $$PREFIX/share/icons/hicolor/512x512

icon.path = $$PREFIX/share/icons/hicolor/512x512/apps
icon.files = QtWebEngineApplication.png

desktop_entry.path = $$PREFIX/share/applications
desktop_entry.files = QtWebEngineApplication.desktop

INSTALLS += target icon desktop_entry
2 changes: 2 additions & 0 deletions QtWidgetsApplication/QtWidgetsApplication.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ HEADERS += mainwindow.h
FORMS += mainwindow.ui

target.path = $$PREFIX/bin

icon.path = $$PREFIX/share/icons/hicolor/512x512/apps
icon.files = QtWidgetsApplication.png

desktop_entry.path = $$PREFIX/share/applications
desktop_entry.files = QtWidgetsApplication.desktop

INSTALLS += target icon desktop_entry

RESOURCES += \
Expand Down

0 comments on commit 437caa8

Please sign in to comment.