Skip to contentSkip to conversation

Configuration network from qt5

DISCUSSION Mauro Ziliani 2 participants 3 messages May 17, 2018

lore
Share & tools
lore
#0 lore raw

Hi all.

Which the betst choice to perform the network configuration in Yocto Krogoth from a qt5 application?

The configuration should be made without external script, using dbus.

Best regards,

  MZ

#1 lore raw
Quoted 6 lines · Mauro Ziliani

Hi all.

Which the betst choice to perform the network configuration in Yocto Krogoth from a qt5 application?

The configuration should be made without external script, using dbus.

Well you probably need to use a network manager that you can control trough D-Bus. NetworkManager, ConnMan, systemd-networkd etc.

If you are using ConnMan you can use this:
https://git.merproject.org/mer-core/libconnman-qt

There might exist similar libraries for other network managers but I am not aware of any.

Signature · 5 lines
Med Vänliga Hälsningar / Best Regards

Mirza Krak
email: [email protected]
web: https://mkrak.org
#2 lore raw

Thanks for the answer.

I start with connman because in meta-qt5 there the recipe for it.

I keep on with connman.

MZ

Il 17/05/2018 15:00, Mirza Krak ha scritto:

Quoted 16 lines · Mauro Ziliani
Quoted 6 lines

Hi all.

Which the betst choice to perform the network configuration in Yocto Krogoth from a qt5 application?

The configuration should be made without external script, using dbus.

Well you probably need to use a network manager that you can control trough D-Bus. NetworkManager, ConnMan, systemd-networkd etc.

If you are using ConnMan you can use this:
https://git.merproject.org/mer-core/libconnman-qt

There might exist similar libraries for other network managers but I am not aware of any.