Compile QT in an ARM device

From wiki.ferrari.mo.it
Jump to navigation Jump to search

Compile QT application in an ARM device

1. Install compiler

apt-get install g++

2. Install required packages

apt-get install qttools5-dev
apt-get install qt5-default

3. Install required modules. Examples:

apt-get install libqt5sql5
apt-get install libqt5serialport5-dev
apt-get install libqt5websockets5-dev

4. Compile

cd my_dir
qmake
make