2010年6月16日 星期三

First Qt program - Hello

程式碼如下:(參考良葛格Qt4範例)


qmake -project: 產生 .pro 專案檔
qmake: 產生 Makefile
make

然後切換至 debug 目錄
執行 hello

執行結果:


Learning Materials:
Tutorials
http://doc.qt.nokia.com/4.6/tutorials.html

How to Learn Qt
http://doc.trolltech.com/4.6/how-to-learn-qt.html

All Overviews and HOWTOs
http://doc.trolltech.com/4.6/overviews.html

API References
http://doc.trolltech.com/4.6/index.html

0 意見: