Skip to content

Commit 437caa8

Browse files
committed
Fix icon installation path
1 parent c85a48c commit 437caa8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

QtWebEngineApplication/QtWebEngineApplication.pro

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ SOURCES += main.cpp
77
RESOURCES += qml.qrc
88

99
target.path = $$PREFIX/bin
10-
icon.path = $$PREFIX/share/icons/hicolor/512x512
10+
11+
icon.path = $$PREFIX/share/icons/hicolor/512x512/apps
1112
icon.files = QtWebEngineApplication.png
1213

1314
desktop_entry.path = $$PREFIX/share/applications
1415
desktop_entry.files = QtWebEngineApplication.desktop
16+
1517
INSTALLS += target icon desktop_entry

QtWidgetsApplication/QtWidgetsApplication.pro

+2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ HEADERS += mainwindow.h
3131
FORMS += mainwindow.ui
3232

3333
target.path = $$PREFIX/bin
34+
3435
icon.path = $$PREFIX/share/icons/hicolor/512x512/apps
3536
icon.files = QtWidgetsApplication.png
3637

3738
desktop_entry.path = $$PREFIX/share/applications
3839
desktop_entry.files = QtWidgetsApplication.desktop
40+
3941
INSTALLS += target icon desktop_entry
4042

4143
RESOURCES += \

0 commit comments

Comments
 (0)