标签:
1. 安装 Qt 5.x
1.1 Add PPA to your system:
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update
1.2 Install Qt 5.x dev
sudo apt-get install qtdeclarative5-dev
refer to: http://askubuntu.com/questions/279421/how-can-i-install-qt-5-x-on-12-04-lts
2. Default Qt version configue:
Replace Default Qt version paths in /usr/lib/x86_64-linux-gnu/qtchooser/default.conf
.
then check: qtchooser -print-env
3. Missing moc in "/usr/lib/x86_64-linux-gnu/qt4/bin/moc"
sudo apt-get install qt4-dev-tools
标签:
原文地址:http://www.cnblogs.com/beautiful-scenery/p/4648189.html