Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How do I add qt desktop applications to SAIL-IMX6q?

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I use the sail-imx6 development board of Electric Fish Electronics to achieve the following. First of all, we need to pay attention to the settings of dianyulinux, Application and other folders:

Folder settings are stored at: / usr/share/matchbox/vfolders

For example: dianyulinux.directory

[Desktop Entry]

Name=dianyulinux

Name [de] = Einstellungen

Comment=dianyulinux test app

Comment [de] = dianyulinux testapp

Icon=mbfolder.png

Type=Directory

Match=dianyulinux

What is important is the Match property, which determines what type of App is displayed in the folder

The order in which folders are displayed is: / usr/share/matchbox/Root.order

Dianyulinux

Applications

Utilities

Games

Settings

All

Application settings:

Icon directory: / usr/share/pixmaps

Application settings: / usr/share/applications

Each application corresponds to a .clients file. Take Ping as an example:

[Desktop Entry]

Name=Ping

Exec=/dianyulinux/qtbin/ping

Icon=ping-icon

Type=Application

Categories=dianyulinux

Comment=Ping test.

It Icon specifies the icon, Exec specifies the location of the executable program, Categories specifies which folder on the desktop to display, Comment comment name.

I use the sail-imx6 development board of Electric Fish Electronics to achieve the following.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report