/qmldevinfo

QML Plugin providing development info

Primary LanguageC++Mozilla Public License 2.0MPL-2.0

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:

  1. softwareVersion -- reading PRETTY_NAME from /etc/os-release
  2. buildId -- reading BUILD_ID from /etc/os-release
  3. ipAddresses -- reading from getifaddrs()
  4. ip6Addresses -- reading from getifaddrs()
  5. nameServer -- reading from /etc/resolv.conf
  6. 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