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
自定义控件时基类用了QWidget,发现qss设置不起作用,需要重载其paintEvent函数即可; 如下代码: void CCustomWidget::paintEvent(QPaintEvent*) Read More
为application 设置setQuitOnLastWindowClosed属性,确实为true; 将其显示为false; 退出该应该程序不能调用QDialog的close消息槽,只能调用qApp->exit(); a.setQuitOnLastWindowClosed(false); http Read More
多线程时出现如下警告信息: A mutex must be unlocked in the same thread that locked it; 原因可能有二: 1.创建QMutex不在当前线程; 2.QWaitCondition::wait 调用前没有调用QMutex::lock; 解决方法: Read More