Add a desktop entry file

This commit is contained in:
Gavin MacGregor
2025-10-07 21:32:21 +01:00
parent b573ee52b1
commit feffca85f8
2 changed files with 16 additions and 0 deletions

View File

@@ -54,6 +54,13 @@ install(DIRECTORY
DESTINATION ${EXAMPLES_INSTALL_DIR}
)
if(UNIX AND NOT APPLE)
install(FILES
${CMAKE_CURRENT_LIST_DIR}/share/qteletextmaker.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
)
endif()
qt_generate_deploy_app_script(
TARGET qteletextmaker
OUTPUT_SCRIPT deploy_script

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=QTeletextMaker
GenericName=Teletext page editor
Exec=qteletextmaker %F
TryExec=qteletextmaker
Categories=Graphics;
Keywords=teletext;
MimeType=text/x.teletext.tti;text/x-softel-teletext;