QT安装问题
-
- 帖子: 433
- 注册时间: 2009-07-06 14:26
QT安装问题
我用系统自带的“安装与删除程序”安装了Qt 4设计器、Qt 4助手、Qt 4Linguist,但是好像感觉和大家说的还不一样!请问安装这么多还少什么东西吗?
生命只不过是上帝借你一用的资本!
- comfanter
- 帖子: 190
- 注册时间: 2009-05-02 14:51
Re: QT安装问题
ii qt4-demos 4.5.0-0ubuntu4 Qt 4 examples and demos
ii qt4-designer 4.5.0-0ubuntu4 graphical designer for Qt 4 applications
ii qt4-dev-tools 4.5.0-0ubuntu4 Qt 4 development tools
ii qt4-doc 4.5.0-0ubuntu4 Qt 4 API documentation
ii qt4-qmake 4.5.0-0ubuntu4 Qt 4 qmake Makefile generator tool
ii qt4-qtconfig 4.5.0-0ubuntu4 Qt 4 configuration tool
ii qt4-designer 4.5.0-0ubuntu4 graphical designer for Qt 4 applications
ii qt4-dev-tools 4.5.0-0ubuntu4 Qt 4 development tools
ii qt4-doc 4.5.0-0ubuntu4 Qt 4 API documentation
ii qt4-qmake 4.5.0-0ubuntu4 Qt 4 qmake Makefile generator tool
ii qt4-qtconfig 4.5.0-0ubuntu4 Qt 4 configuration tool
-
- 帖子: 433
- 注册时间: 2009-07-06 14:26
- comfanter
- 帖子: 190
- 注册时间: 2009-05-02 14:51
Re: QT安装问题
可以去官方网站下载Qt SDK
http://qt.nokia.com/downloads-cn
http://qt.nokia.com/downloads-cn
-
- 帖子: 18
- 注册时间: 2008-09-15 11:56
Re: QT安装问题
安装QT开发工具包
sudo apt-get install qt4-dev-tools
从http://qt.nokia.com/downloads-cn下载Qt Creator IDE的编译好的二进制软件包,然后安装即可。
sudo apt-get install qt4-dev-tools
从http://qt.nokia.com/downloads-cn下载Qt Creator IDE的编译好的二进制软件包,然后安装即可。
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系:
Re: QT安装问题
代码: 全选
mkdir -pv ~/develop/qt4/helloworld && cd ~/develop/qt4/helloworld
cat > helloworld.cc << "EOF"
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel label("Hello world");
label.resize(100, 30);
label.show();
return app.exec();
}
EOF
qmake-qt4 -project
qmake-qt4
make
./helloworld
代码: 全选
] ls -ld //
-
- 帖子: 848
- 注册时间: 2009-07-05 19:36
Re: QT安装问题
用不着这么麻烦,直接一个
sudo apt-get install kde-devel
就ok了。。。
sudo apt-get install kde-devel
就ok了。。。
- lhembed
- 帖子: 31
- 注册时间: 2009-10-18 13:08
Re: QT安装问题
还需要汉化包tusooa 写了:测试一下,如果能通过编译就好了代码: 全选
mkdir -pv ~/develop/qt4/helloworld && cd ~/develop/qt4/helloworld cat > helloworld.cc << "EOF" #include <QApplication> #include <QLabel> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel label("Hello world"); label.resize(100, 30); label.show(); return app.exec(); } EOF qmake-qt4 -project qmake-qt4 make ./helloworld
sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base