@nuc6:~$ sudo apt-get install build-essential libgl1-mesa-dev
https://wiki.qt.io/Install_Qt_5_on_Ubuntu
wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
chmod +x qt-opensource-linux-x64-5.7.0.run
./qt-opensource-linux-x64-5.7.0.run
下面解决中文问题
@nuc6:~$ sudo apt-get install libfcitx-qt5-1 fcitx-libs-qt5 fcitx-libs-qt5
@nuc6:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts$ cp libfcitxplatforminputcontextplugin.so /home/gddg/Qt5.7.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts
@nuc6:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts$ cp libfcitxplatforminputcontextplugin.so /home/gddg/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts
@nuc6:~/Qt5.7.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts$ chmod +x libfcitxplatforminputcontextplugin.so
@nuc6:~/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts$ chmod +x libfcitxplatforminputcontextplugin.so
引用
http://blog.csdn.net/qq_20336817/article/details/52765251
http://www.cnblogs.com/findumars/p/4926687.html