Skip to content

Commit

Permalink
Linux wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stofte committed Mar 18, 2019
1 parent cd8d70c commit afc20d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/lib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ DISTFILES = qmldir
BUILD_MODE=debug
CCRS_CFLAGS=pwd # noop
RUST_TARGET=x86_64-pc-windows-msvc
linux:RUST_TARGET=x86_64-unknown-linux-gnu
CONFIG(debug, debug|release) {
DEFINES += DEBUG
# the cc-rs crate looks at the CFLAGS, but curl breaks
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ Other notes
These instructions have been tested on Ubuntu 18.04.2 LTS and only cover building
the application.

- Install these packages `libgl1-mesa-glx libx11-xcb1 libxkbcommon-x11-dev`
- Qt requires these packages installed `libgl1-mesa-glx libx11-xcb1 libxkbcommon-x11-dev`
- Download Qt installer: `wget http://mirrors.dotsrc.org/qtproject/archive/qt/5.12/5.12.1/qt-opensource-linux-x64-5.12.1.run`
- Mark installer as runnable `chmod +x qt-opensource-linux-x64-5.12.1.run`
- Install `./qt-opensource-linux-x64-5.12.1.run`
- `curl https://sh.rustup.rs -sSf | sh` and then set the path `source $HOME/.cargo/env`
- Rust backend further requires `libssl-dev pkg-config`

The Qt toolkit on Linux seems to refer to GCC, but who knows. For myself,
QtCreator kept looking for `clang++` which I installed in addition to the
Expand Down

0 comments on commit afc20d7

Please sign in to comment.