QmlDevInfo
A QML plugin to show some information about the target it is running on.
Installation
mkdir build
cd build
qmake ..
make
sudo make install
Usage
Check example
folder on how to use it, for now there are 6 properties:
- softwareVersion -- reading
PRETTY_NAME
from/etc/os-release
- buildId -- reading
BUILD_ID
from/etc/os-release
- ipAddresses -- reading from
getifaddrs()
- ip6Addresses -- reading from
getifaddrs()
- nameServer -- reading from
/etc/resolv.conf
- defaultGateway - reading from
netstat -rn
You also can find a dummy file in dummyimports
which you can use for
your code instead of the C++ plugin while developing.
License
This software is Free Software licensed under the Mozilla Public License 2.0