上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 1357 下一页
版权声明:本文为博主原创文章,欢迎转载,转载请注明出处 https://blog.csdn.net/MatchYang/article/details/52988257 在直接使用QStandardItemModel存取数据时,必须考虑线程安全问题 以下是使用场景: QListView用于显示图片缩 Read More
posted @ 2018-08-23 18:12 findumars Views(1438) Comments(0) Diggs(0)
ubuntu 交叉编译qt 5.7 程序到 arm 开发板平台1 ubuntu 12.042 arm-linux-gcc 4.5.13 QT 5.74 开发板210 armcortex-A8 一 概述QT5的ARM移植及其中文显示 二 准备工具1.交叉编译工具(arm-linux-gnueabi-4 Read More
posted @ 2018-08-23 18:07 findumars Views(3586) Comments(0) Diggs(0)
自定义控件时基类用了QWidget,发现qss设置不起作用,需要重载其paintEvent函数即可; 如下代码: void CCustomWidget::paintEvent(QPaintEvent*) Read More
posted @ 2018-08-23 17:19 findumars Views(1511) Comments(0) Diggs(0)
为application 设置setQuitOnLastWindowClosed属性,确实为true; 将其显示为false; 退出该应该程序不能调用QDialog的close消息槽,只能调用qApp->exit(); a.setQuitOnLastWindowClosed(false); http Read More
posted @ 2018-08-23 17:15 findumars Views(2252) Comments(0) Diggs(0)
多线程时出现如下警告信息: A mutex must be unlocked in the same thread that locked it; 原因可能有二: 1.创建QMutex不在当前线程; 2.QWaitCondition::wait 调用前没有调用QMutex::lock; 解决方法: Read More
posted @ 2018-08-23 17:11 findumars Views(309) Comments(0) Diggs(0)
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 1357 下一页