ubports / qmenumodel Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v3.0
License: GNU Lesser General Public License v3.0
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.
Arch GNU/Linux
CMake Error at libqmenumodel/src/CMakeLists.txt:53 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
CMake Error at libqmenumodel/QMenuModel/CMakeLists.txt:22 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
According to the official Qt documentation qt5_use_modules
macro is obsolete
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.