Install

Info

This material is work in progress and will change!

CoreUI is not really something to be installed. It is more an approach to write large scaled user interfaces using Qt and Qt Auto. Still there is a helper library and tools to help you getting started and which is used throughout the guide.

The tool is called coreui-admin which can be used to create new sample projects or add aspects to these projects. This tool purpose is to make the guide more compact. Instead of describing in detail how to setup a project, it is possible now just to create a project using coreui-admin new myproject.

The coreui-admin tool is a Python 3 script which can be easily installed using the standard python tooling.

Requirements

The script requires a Python (3.5> ) installation with the PIP package manager installed.

Installation

You install the tool directly from this repository using the python package manager

1
2
3
git clone https://github.com/Luxoft/qml-coreui.git
cd qml-coreui
pip install .

Note

On Ubuntu you might need to add $HOME/.local/bin to you $PATH

Info

If you intent to work om the script you can install an editable installation which only installs links to the original source.

1
pip install -e . --upgrade

To update the installation you need to update the repository.

1
2
cd coreui-admin
git pull

Now the coreui-admin is updated to the latest from the remote repository.

Uninstall

To de install the script you can to use the pip tool

1
pip uninstall coreui-admin

Using virtualenv

In case you do not want to pollute your local python installation you can use python virtualenv

1
2
3
pip install virtualenv
virtualenv -p python3 venv
source venv/bin/activate

Now install coreui-admin and to exit this python virtual environment call deactivate.

First use

After the installation the coreui-admin command is at your disposal.

1
coreui-admin --help