码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu (14.04) 如何安装和配置Qt

时间:2015-07-15 15:00:47      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:

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

 

Ubuntu (14.04) 如何安装和配置Qt

标签:

原文地址:http://www.cnblogs.com/beautiful-scenery/p/4648189.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!