回复: 自己写的一个秒表和世界时间表(QT4 开发模式的入门例子)
#26 [judefox 10-10 20:46]
谢谢,我刚学,下下来好好研究研究!!
#27 [dengzemin 11-17 19:36]
我这make也有错
worldtimer.cpp: In member function ‘void YWorldTimer::slotSlideWorldTimer(int)’:
worldtimer.cpp:160: warning: unused variable ‘j’
worldtimer.cpp: In member function ‘void YWorldTimer::slotStartOneStopWatch()’:
worldtimer.cpp:307: error: ‘class YStopWatch’ has no member named ‘setTextStream’
worldtimer.cpp:318: error: ‘class YStopWatch’ has no member named ‘setTextStream’
worldtimer.cpp:328: error: ‘class YStopWatch’ has no member named ‘setTextStream’
make: *** Error 1
#28 [htyoung 12-28 00:55]
不知27楼的问题解决了吗 ? 你看一下 是不是 某个宏 没开。请仔细看一下 pro文件 。
#29 [rockyru 01-12 14:09]
好东西,一定要搞懂QT
#30 [henrya2 01-16 15:43]
ui 文件在预编译阶段会生成对应的.cpp和.h文件,都是自动完成的,生成后可以看到源代码。