简体   繁体   English

Ubuntu + qt,如何更新?

[英]Ubuntu + qt, how to update?

Installed qt from ubuntu software center then can't find examples with qml, checked version, it shows that Using Qt version 4.6.2 in /usr/lib. Installed qt from ubuntu software center then can't find examples with qml, checked version, it shows that Using Qt version 4.6.2 in /usr/lib.

My question, how to update qt creator and qt?我的问题,如何更新 qt 创建者和 qt? Is there any button on qt creator or function in make or qmake to update from 4.6.x to 4.7.xxx? qt creator 或 function 在 make 或 qmake 上是否有任何按钮可以从 4.6.x 更新到 4.7.xxx?

If I will download new version from official site I will duplicate all that things as qt creator, linguist, assinstent and designer, and fear to be confused which version I using in development.如果我要从官方网站下载新版本,我会将所有内容复制为 qt 的创建者、语言学家、助理和设计师,并且害怕混淆我在开发中使用的版本。

For everyone asked this question: the situation has been changed.对于每个人都问过这个问题:情况已经改变。 Currently there is the repository with the latest packages for Qt.目前有 Qt 的最新软件包的存储库

To add it, run: sudo add-apt-repository ppa:forumnokia/fn-ppa要添加它,请运行: sudo add-apt-repository ppa:forumnokia/fn-ppa

First make sure you have libqt4-dev installed: sudo apt-get install libqt4-dev .首先确保您已安装libqt4-devsudo apt-get install libqt4-dev

Then try: sudo apt-get update && sudo apt-get dist-upgrade .然后尝试: sudo apt-get update && sudo apt-get dist-upgrade

Either update your ubuntu to 10.10 or 11.04 or use this ppa, which contains Qt 4.7.0将您的 ubuntu 更新到 10.10 或 11.04 或使用此 ppa,其中包含 Qt 4.7.0

deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu lucid main

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM