moment/README.md

56 lines
1.2 KiB
Markdown
Raw Normal View History

# harmonyqml
## Dependencies setup
2019-07-18 22:10:36 +10:00
Outside of pip/github:
2019-07-18 22:10:36 +10:00
Qt 5.12+, including:
2019-07-26 09:19:39 +10:00
- qt5-declarative-devel
- qt5-quickcontrols
- qt5-quickcontrols2-devel
- qt5-svg-devel
2019-07-18 22:10:36 +10:00
- qt5-graphicaleffects
- qt5-qmake
2019-08-30 14:07:05 +10:00
- qt5-devel
2019-07-18 22:10:36 +10:00
2019-08-30 14:07:05 +10:00
- python3
- python3-devel
2019-07-26 09:19:39 +10:00
- olm-python3 >= 3.1
2019-08-30 14:07:05 +10:00
Make sure the right version of Qt is used:
export QT_SELECT=5
2019-08-16 23:47:44 +10:00
Install [pyotherside](https://github.com/thp/pyotherside):
2019-07-18 22:10:36 +10:00
git clone https://github.com/thp/pyotherside
cd pyotherside
2019-07-26 09:19:39 +10:00
qmake && make && sudo make install
After this, verify the permissions of the installed plugin files.
2019-07-18 22:10:36 +10:00
sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/*
sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so
2019-08-16 23:47:44 +10:00
Install the dependencies from Pypi:
2019-07-18 22:10:36 +10:00
pip3 install --user --upgrade \
2019-08-30 14:07:05 +10:00
Pillow aiofiles appdirs dataclasses filetype hsluv html_sanitizer \
2019-07-26 09:19:39 +10:00
lxml mistune uvloop
2019-07-18 22:10:36 +10:00
2019-08-16 23:47:44 +10:00
Install the dependencies from Github:
2019-07-18 22:10:36 +10:00
[matrix-nio](https://github.com/mirukan/matrix-nio):
git clone https://github.com/mirukan/matrix-nio
cd matrix-nio
2019-07-26 09:19:39 +10:00
pip3 install --user --upgrade -e '.[e2e]'
2019-07-18 22:10:36 +10:00
## Building
git clone <TODO>
cd harmonyqml
2019-08-26 05:38:42 +10:00
qmake harmonyqml.pro && make && sudo make install
2019-07-18 22:10:36 +10:00
After this if no errors happened, run `harmonyqml`.