Go to file
2019-12-18 16:24:36 -04:00
src Transfer.qml: fix typo 2019-12-18 16:24:36 -04:00
submodules Add forked RadialBar module 2019-11-06 15:30:51 -04:00
.gitignore gitignore tags 2019-09-04 08:27:45 -04:00
.gitmodules Add forked RadialBar module 2019-11-06 15:30:51 -04:00
COPYING Initial commit 2019-03-21 23:28:14 -04:00
COPYING.LESSER Start rewriting backend with pyotherside+asyncio 2019-06-27 02:31:03 -04:00
harmonyqml.pro Remove QtAV from .pro dependencies 2019-11-11 10:29:54 -04:00
live-reload.sh live-reload: change part of the WM_CLASS 2019-10-29 13:35:19 -04:00
README.md README: QQC1 no longer needed 2019-12-10 11:23:38 -04:00
requirements.txt Don't use Animators for ListView transitions 2019-12-01 11:24:20 -04:00
TESTS.md Improve upload code, based on nio PR #76 2019-11-17 13:31:00 -04:00
TODO.md Document nio_callbacks.py, small code improvements 2019-12-18 14:24:55 -04:00

harmonyqml

Dependencies setup

From your distribution's package manager, install:

Qt 5.12+, including:

  • qt5-declarative-devel

  • qt5-quickcontrols2-devel

  • qt5-svg-devel

  • qt5-graphicaleffects

  • qt5-qmake

  • qt5-devel

  • python3

  • python3-devel

  • olm-python3 >= 3.1

Make sure that the right version of Qt is selected and compiler flags are
correctly set:

export QT_SELECT=5
export CFLAGS="-march=native -O2 -pipe"
export CXXFLAGS="$CFLAGS"
export MAKEFLAGS="$(nproc)"

Install pyotherside:

git clone https://github.com/thp/pyotherside
cd pyotherside
qmake && make && sudo make install

After this, verify the permissions of the installed plugin files.
To ensure that they're correctly set:

sudo chmod -R 755 /usr/lib/qt5/qml/io
sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/*
sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so

Install the Python 3 dependencies:

pip3 install --user -Ur requirements.txt

Optional dependency for performance improvements:

pip3 install --user -U uvloop==0.13.0

Building

git clone --recursive <TODO>
cd harmonyqml
qmake harmonyqml.pro && make && sudo make install

After this if no errors happened, run harmonyqml.

If you get a version mismatch error related to cffi, try:

pip3 install --user --upgrade --force-reinstall cffi