QT

6 posts

QT release MYSQL an instance of QCoreApplication is required for loading driver plugins

记录 Qt 程序在 Debug 正常、Release 报 QMYSQL 驱动错误时的排查:补充插件路径、打包程序并复制 MySQL 客户端库。

QT release MYSQL an instance of QCoreApplication is required for loading driver plugins

Qt MySQL release-build notes: locate the plugins directory, add its library path, package the application and include the MySQL client libraries. Article body is in Chinese.

QT Word wdmain.chm [24632]

昨天使用QT在word中插入图片,发现报错,查了一圈都说是路径问题,于是在qDebug中打印文件路径发现没有错误路径,之后进入debug发现是使用 QString.Split() 方法分割数据库字符串会出现空字符,没想到因为自己的一时偷懒浪费了将近一天的时间,因为我用的 QT Creator 控...

QT Word wdmain.chm [24632]

Yesterday, when using QT to insert a picture in word, I found an error. I checked around and said it was a path problem. So I printed the file path...

QT Copy Table 复制文档内已有表格

1. word操作的接口,我前期是对照博主的代码对应api学习的 2. 成果复制图中的表格到文档末尾 今天想实现一个需求,复制word模板内的表格,搜索各大引擎大部分是修改表格内部属性或是取值赋值之类的操作,没有整体复制一个表格的需求。 在开始之前应该先了解QT 中 QAxObjext 方法中...

QT Copy Table Duplicate Existing Table in Document

1. Interface for word operation, I studied corresponding api against blogger's code in early stage 2. Result Copy the table in the picture to the en...

QT+ CLion + Revit 问题汇总

ui因为一直想实现QT+CLion+Revit的开发路径,所以从头开始学习QT与C++,在这里记录一下QT遇到的问题及后续的问题。如果开发周期不足估计会用一两周爆肝出来,随时会断更。 目前的思路是C++创建dll,在dll里面编写QT界面,之后用C++ Revit 的API接口实现整个步骤。 中...

QT+ CLion + Revit Issues Summary

Because I always wanted to implement the QT+CLion+Revit development path, I started learning QT and C++ from scratch. Here I record the problems enc...

CLion 2021.3 + QT 5.14.2 配置

参考链接: 1. 安装 在配置之前首先安装CLion和QT,相应下载链接网上都有,直接官网下载即可 1. 配置 2.1 打开CLion创建项目 2.2 创建好之后点击 File Setting Build,Exexution,Deployment ToolChains 配置文件,我们需要把里面的...

CLion 2021.3 + QT 5.14.2 Configuration

Reference Links: 1. Installation Install CLion and QT before configuration. Download links can be found online, or download directly from their offi...

QT 学习之路

添加动作 添加资源文件 上面示例中我们的toolbar没有图片显示,基本与背景融为一体。原因是因为我们没有配置资源文件,程序也就没办法找到那个图片进行引用。 这一步就像c 中在项目属性中添加图片类似,建立图片与程序之间的连接。 步骤: 1. 文件 新建 AT QT Resources File...

QT Learning Path

Add Action Add Resource File In the example above, our toolbar has no picture display, basically integrated with the background. The reason is that...