2.是关于如何加载dll或lib库的。可以看这篇bog Qt调用dll中的功能函数点击打开链接 ****************************************************************************************************** Read More
posted @ 2016-09-03 17:54 findumars Views(554) Comments(0) Diggs(0)
http://blog.csdn.net/shulianghan/article/details/18812279 http://blog.csdn.net/linbounconstraint/article/details/52002573 Read More
posted @ 2016-09-03 17:25 findumars Views(418) Comments(0) Diggs(0)
clickedLabel.h #ifndef CLICKLABEL_H #define CLICKLABEL_H #include <QLabel> #include <QMouseEvent> class ClickLabel : public QLabel { Q_OBJECT public: Read More
posted @ 2016-09-03 17:19 findumars Views(1314) Comments(0) Diggs(0)
找到qt安装目录下的mkspecs文件夹,在里面找到你使用的对应版本编译器,打开qmake.conf。稍等: /MD:动态链接多线程库(msvcrt.lib)。使用该选项时,需要用/NODEFAULTLIB选项来忽略掉libc.lib、 libcmt.lib、libcd.lib、libcmtd.li Read More
posted @ 2016-09-03 17:13 findumars Views(1103) Comments(0) Diggs(0)
方法1:可以通过代码ui->pushButton->setFocusPolicy(Qt::NoFocus)或在Qt Creator的属性列表中设置。 方法2:如果在嵌入式设备中需要通过按键切换控件,最简单的方法就是通过控件的focus来实现,就不能使用方法1 了。此时可以通过qss样式表来去掉虚线框 Read More
posted @ 2016-09-03 04:47 findumars Views(3687) Comments(0) Diggs(0)