Coder Social home page Coder Social logo

qmenumodel's Introduction

QMenuModel - a Qt/QML binding for GMenuModel
(see http://developer.gnome.org/gio/unstable/GMenuModel.html)


= Building =

The build system uses cmake.
To compile, simply invoke cmake and then make, e.g.:

    $ cmake .
    $ make


= Running unit tests =

To run the unit tests, you will need dbus-test-runner. If it wasn’t previously
installed, install it and then re-run cmake. Then run either of these commands:

    $ make test

      - or -

    $ ctest


= Getting code coverage information =

To run the unit tests and generate code coverage information, you need to re-run
cmake with ENABLE_COVERAGE set to ON and then invoke `make lcov`.
This requires lcov to be installed.

    $ cmake -DENABLE_COVERAGE=ON .
    $ make lcov

This will generate a report (coverage/index.html) which you can view in a
browser.


= API documentation =

To generate API documentation, you need to re-run cmake with GENERATE_DOC set to
ON and then invoke `make qdoc`. This requires qdoc3 to be installed.

    $ cmake -DGENERATE_DOC=ON .
    $ make qdoc

The documentation is generated in the HTML format under doc/html/.


= Examples =

There are examples of how to use QDBusMenuModel in QML, refer to the README file
under the examples/ directory for instructions.

qmenumodel's People

Contributors

3v1n0 avatar billfiller avatar caybro avatar ckerr avatar flohack74 avatar kaijanmaki avatar mardy avatar mariogrip avatar mikix avatar nickdedekind avatar osomon avatar pete-woods avatar saviq avatar tsdgeos avatar vanyasem avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qmenumodel's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.