@ -12,7 +12,7 @@ mode = developer
[qbittorrent.qbittorrentdesktop_master]
source_file = src/icons/qBittorrent.desktop
source_file = dist/unix/qbittorrent.desktop
source_lang = en
type = DESKTOP
minimum_perc = 23
@ -31,7 +31,7 @@ if (Qt5Widgets_FOUND)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
FILES_MATCHING PATTERN "*.png")
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop
install(FILES qbittorrent.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
COMPONENT data)
@ -36,7 +36,7 @@ nogui:systemd {
# Menu Icon
!nogui {
menuicon.files = icons/qbittorrent.desktop
menuicon.files = dist/unix/qbittorrent.desktop
menuicon.path = $$DATADIR/applications/
INSTALLS += menuicon