Embedded-based QT system API usage
-
Hi everyone
I am a student who is studying the program hard.
As I am interested in applications these days, I am having fun using the QT framework.There is nothing that cannot be done by making the executable file an application.
Also, I would like to make other applications as well as executable files.I want to create an application that can execute the system UI such as bluetooth, setting, sound, etc. on the system by using the system API. When I looked for it, there seemed to be no way.
Someone please let me know.
-
@QTgiveitome said in Embedded-based QT system API usage:
I want to create an application that can execute the system UI such as bluetooth, setting, sound, etc. on the system by using the system API
Please explain better what this means.
What does "can execute the system UI" mean? And why do you want to use system API instead of Qt? -
I didn't seem to be able to explain it well.
I want to display the result of clicking the Bluetooth connection button, volume size control button, etc. in the embedded system as the QT application execution result.
-
Hi
There is nothing in Qt for that.
You will have to use native API for that if it exists.What OS is running in the "embedded system " ?
(its its linux, its often possible to script things and you can use that) -
OS is Ubuntu 20.04 aarch64.
-
Hi
Then i would look into Dbus
https://www.freedesktop.org/wiki/Software/dbus/#DocumentationDo notice the windows wont be embedded into your Qt app.
Its more like your Qt app is another menu for open the same places in the OS. -
Are you saying that you should try using QT app and QT D-BUS communication because the bluetooth button is also one application in the OS?
-
well, ubuntu also offers some automation features. So if you are lucky it is
possible to popup the same window.
The OS is in itself a big application.I used it for some small automation task so I can't say if its the only way to automate GUI in Linux or someone
knows an even better way.It might not be possible to ask it to show whatever comes when you press the
" bluetooth button "