| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This software has been created in order to help solving problems which are typically arising when developing complex UI software using the Qt/QML framework. This kind of system is usually designed in such a way that some C++ code exposes functionality to the QML engine. The typical challenges are the following:
This is a list of requirements which have been taken into account when designing this component:
Project folder structure:
The required packages can be installed using the following commands:
$ sudo apt-get install python3-click python3-path python3-pip python3-jinja2 python3-yaml cmake qtdeclarative5-dev qml-module-qtquick-controls qtdeclarative5-private-dev
In addition, since no deb package is available for it, you need to install the antlr4 runtime using the following command line (for example):
$ pip3 install antlr4-python3-runtime
$ brew install qt5 python3 $ pip3 install antlr4-python3-runtime six pyyaml click typing jinja2 watchdog path.py
We use QFace as a submodule, which you need to fetch using the following command line:
$ git submodule init && git submodule update
You are now ready to build the package using the following commands:
$ mkdir build $ cd build $ cmake .. && make
If you want to build using your own version of Qt, you can specify its location using the following command instead:
$ cmake -DCMAKE_PREFIX_PATH=/path/to/Qt/gcc_64/lib/cmake .. && make
CCACHE can greatly improve build time in some situations. Configure the project with the following command to enable CCACHE:
$ CC="ccache gcc" CXX="ccache g++" cmake -DCMAKE_PREFIX_PATH=/path/to/Qt/gcc_64/lib/cmake .. && make
Multiple example applications are provided, which can be built together with the package itself using the -DFACELIFT_BUILD_EXAMPLES=ON CMake configure option.
Each example has a corresponding launch script which you can use to start the example.
For example:
$ ./examples/launch-addressbook.sh
This code is copyright (c) 2018 Luxoft Sweden AB Licensed under the MIT, please see LICENSE file for more information.
| Back | FazBrowse Home | New Git URL |