本文转载自http://hi.baidu.com/xchinux/item/9044d8ce986accbb0d0a7b87一、将某个QT4项目改成QT5遇到的问题 该Qt4项目以前是使用Qt4.7.4MSVC2008开发的,因为使用到了OWC10(OfficeWebComponents),使用MS... Read More
posted @ 2015-10-16 22:07
findumars
Views(2536)
Comments(0)
Diggs(0)
Qt编译时经常出现以下警告:warning: unused parameter 'arg1' [-Wunused-parameter]warning: unused variable 'i' [-Wunused-variable]原因是由于某些函数参数或者某些变量未使用,这在程序当中有时候很正常;所... Read More
posted @ 2015-10-16 22:05
findumars
Views(983)
Comments(0)
Diggs(0)
本文转载自:http://woboq.com/blog/cpp11-in-qt5.htmlC++11 in Qt5Posted by Olivier Goffart on 11 June 2012C++11 is the name of the current version of the C++ ... Read More
posted @ 2015-10-16 22:04
findumars
Views(540)
Comments(0)
Diggs(0)
Qt不像VC++的win32/MFC编程那样,提供了现成的sleep函数可供调用。Qt把sleep函数封装在QThread类中。子线程可以调用sleep函数。但是如果用户想在主线程实现延时功能,该怎么办呢?方法是自定义sleep延时函数。通过QDateTime来实现时间差。 #include <QD Read More
posted @ 2015-10-16 22:00
findumars
Views(4382)
Comments(1)
Diggs(1)
文章来源:http://blog.csdn.net/ccf19881030/article/details/18220447问题一:错误:C1083:无法打开包括文件:“QApplication”:Nosuchfileordirectory出现原因:Qt5里不再用QtGui模块,而是使用QtWidg... Read More
posted @ 2015-10-16 21:56
findumars
Views(571)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号