摘要: 1、新建目录qthello,并进入qthello目录mkdir qthellocd qthello注意:Qt 程序项目不能以 "qt"、“qt-mt”、“qte” 等作为其顶级目录名,否则编译时会发生错误。建立源文件hello.cpp,并输入下列内容,然后保存。 #include <QApplication>#include <QLabel>int main (int argc, char *argv []){ QApplication app (argc, argv); QLabel *label = new QLabel ("Hello 阅读全文
posted @ 2010-01-27 21:33 往事如风似过往 阅读(235) 评论(0) 推荐(0) 编辑