Commit a655102f authored by Sami Nurmenniemi's avatar Sami Nurmenniemi

Added README.txt

parent eb589d69
Docker builder for Qt on Artik 530
1. Set up your development PC
sudo apt install git curl qemu-user-static binfmt-support
2. Clone the Artik Qt5 builder
git clone
cd artik_qt5_builder
3. Set up docker to your system
See for Ubuntu 16.04 and other distributions
Activate docker group by rebooting
You can also activate it to current terminal by su - ${USER}
4. Set up build directory
mkdir build
cd build
5. Clone Qt5 to the build directory (or take it from and extract to build/qt5)
git clone
cd qt5
git checkout v5.11.2
git submodule update --init --recursive
6. Build
cd ../..
You can rebuild with scripts/ build
7. Now you should have in the qt5 available in build/qt5_install
8. Boot your device and check it's IP address
9. Set up automatic SSH access to the device (unless you want to give password several times)
ssh root@IP_ADDR "mkdir .ssh; chmod 700 .ssh"
scp ~/.ssh/ root@IP_ADDR:.ssh/authorized_keys
ssh root@IP_ADDR "chmod 600 .ssh/authorized_keys"
10. Download from and put it to the artik_qt5_builder directory
11. Run setup & deploy scripts
scripts/ IP_ADDR
Please note the Qt environmental variables that are appended to /etc/profile
scripts/ IP_ADDR
12. Compiling your Qt application
Copy the source to the build directory
./ debug
scp ../build/appdir/appbinary root@IP_ADDR:/path/in/device
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment