error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall Widget::metaObject
编写一个简单的给予QT的DEMO程序步骤大致如下:
下面开始编程:
A 编写 main.cpp
B 编写 hello.h
C 编写 hello.cpp
D 制作.ui文件,并生成ui_hello.h
打开designer,拖入一个pushButton,一个label。保存为hello.ui。然后生成ui_hello.h,并添加到项目的源文件中。
编译运
原创
2012-12-29 16:34:45 ·
39572 阅读 ·
0 评论