Use Ubuntu Server 16.04 for Example
For C++ need build-essential, OpenGL need libgl1-mesa-dev
and install Qt 5.7 binary from PPA
sudo add-apt-repository -y ppa:beineri/opt-qt57-xenial
sudo apt update
sudo apt install -y build-essential libgl1-mesa-dev qt-latest
. "/opt/qt57/bin/qt57-env.sh"
For env setting, add bashrc command
echo . "/opt/qt57/bin/qt57-env.sh" >> .bashrc
=== Ref
Install Qt 5 on Ubuntu
https://wiki.qt.io/Install_Qt_5_on_Ubuntu
Stephan Binner
https://launchpad.net/~beineri
沒有留言:
張貼留言