arm版上爲QT應用添加桌面圖標

步驟
1、準備圖標  
    格式:png
大小:96 x 96
    分辨率:72
命名:隨意
2、.desktop文件
以RCC_browser爲例

rcc.desktop內容如下:
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=rcc4.0
Icon=/usr/share/matrix-gui-2.0/apps/rcc_application/rcc-icon.png  
Exec=/usr/bin/RCC_browser                                           
Type=Application
ProgramType=console
X-MATRIX-DisplayPriority=5




3、導入文件
首先,將rcc-icon.png和rcc.desktop放在rcc_application文件夾下,該文件夾的命名按照xx_application規則。
然後,將rcc_application導入/usr/share/matrix-gui-2.0/apps/目錄下,開xx_application的讀取權限。

4、更新桌面

進入Setting菜單,點擊Refresh Matrix ,run 完成即可。


參考文檔:

http://processors.wiki.ti.com/index.php/Matrix_Users_Guide

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章