Ubuntu 8.04安装Qt4

lywdx posted @ 2009年9月25日 01:51 in HelloQt , 2578 阅读




我说说我在网站上下载的.bin格式文件的Qt Creator的安装过程吧!(我初学Qt,仅供参考!)


打开终端 到那个目录下  输入


chmod +x  qt-sdk-linux-x86-opensource-2009.03.1.bin




应用程序->编程->Qt creator







#include <QApplication>
#include <QMainWindow>
#include <QLabel>

int main(int argc, char *argv[])
QApplication app(argc,argv);

QMainWindow *window = new QMainWindow;
window->resize(550,350); //窗口大小
window->setWindowTitle("Hello Qt");
QLabel *label = new QLabel("<h2>Hello World!</h2>");


return app.exec();





tenda 说:
2022年8月09日 10:55

Tenda is a popular brand that supplies various wireless routers that are well known for easy configuration of the WiFi network, and once a new router has been bought, one should make it ready to get it configured such that their LAN connection does move to WiFi to be used by multiple devices. tenda Tenda is the most preferred brand in customer premises wireless equipment due to its good range and stable connection, and their routers are found in 150Mbps and 300Mbps form which can be bought based on customer visibility.

fiyona cha 说:
2023年1月01日 15:38

Qt4 is a powerful cross-platform application development framework. It is available for many operating systems, including Ubuntu 8.04. In order to install Qt4 on Ubuntu 8.04, you will need to first install the dependencies. These can be found in the Ubuntu repositories. Once the dependencies CBD for Arthritis are installed, you can then use the Ubuntu Software Center to install Qt4.

登录 *

loading captcha image...
or Ctrl+Enter