![](https://img-blog.csdnimg.cn/2019092715111047.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Qt自学
总结Qt学习笔记
@WangHM
路漫漫其修远兮,吾将上下而求索!
展开
-
VS或Qt编译链接过程中出现“无法解析的外部符号”的原因:
VS或Qt编译链接过程中出现“无法解析的外部符号”的原因原创 2022-06-20 10:41:46 · 389 阅读 · 0 评论 -
Qt: Exception at 0x7ff8082c4f69, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be ...
文件编写过多时,Qt Creator编译器有时反应不了,需要将报错的变量或函数定义等等重新编写一遍或变换一下位置。原创 2022-03-26 10:22:25 · 2916 阅读 · 1 评论 -
Qt报错:Error while building/deploying project *** (kit: Desktop Qt 5.12.9 MSVC2017...)
Qt Creator 报错:Error while building/deploying project helloworld (kit: Desktop Qt 5.6.2 MinGW 32bit) When executing step "qmake" - zhangjunwu - 博客园 (cnblogs.com)https://www.cnblogs.com/zhangjunwu/p/7417566.html注意:Qt文件路径不要出现中文名字和空格!!!......原创 2022-03-21 16:49:07 · 1589 阅读 · 0 评论 -
Qt5.12.9配置OpenCV3.4.6(MSCV2017)
QT += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgetsCONFIG += c++11# The following define makes your compiler emit warnings if you use# any Qt feature that has been marked deprecated (the exact warnings# depend on your compiler). Pl.原创 2022-03-17 11:41:53 · 4825 阅读 · 0 评论 -
Qt学习第四篇
1)帮助文件:F1 (光标在函数名字或类名上,按 F1 即可跳转到对应帮助文档,查看其详细用法)2).h 文件和对应.cpp 文件切换:F43)编译并运行:Ctrl + R4)函数声明和定义(函数调用和定义)切换:F25)代码注释取消注释:Ctrl + / (选中代码再按快捷键)6)字体变大变小:Ctrl + 鼠标滚轮向上向下7)移动代码:选中所要移动的代码 -> 按住 ctrl + shift -> 键盘方向键8)查找替换关键字:ctrl + f9)快速打...原创 2021-12-09 15:30:15 · 461 阅读 · 0 评论 -
Qt学习第三篇
Qt命名规范1) 类名:单词首字母大写,单词和单词之间直接连接,无需连接字符如:MyClass,QPushButtonclass MainWindow{ };2) 函数名字,变量名:第二个单词开始(不是从第一个单词开始),首字母大写,单词和单词之间直接连接,无需连接字符如:void setFlag();QString getText();bool isDraw;3) Qt中内置的类型,头文件和类命名同名。如:#include <QString>QSt...原创 2021-12-09 15:26:31 · 186 阅读 · 0 评论 -
Qt学习第二篇
.por文件解释:QT += core gui //Qt包含的模块greaterThan(QT_MAJOR_VERSION, 4): QT += widgets //大于4版本以上 包含widgets模块TARGET = FristProject //目标 生成的.exe程序的名称TEMPLATE = app //模块 应用程序模块 ApplicationSOURCES += \ main.cpp \ //源文件 m.原创 2021-11-29 22:55:55 · 168 阅读 · 0 评论 -
Qt学习第一篇
1.Qt简介1.1跨平台图形界面引擎 1.2历史 1.2.1 1991 奇趣科技创建 1.3优点 1.3.1跨平台 1.3.2接口简单,容易上手 1.3.3一定程度上简化了内存回收 1.4版本1.4.1商业版1.4.2开源版...原创 2021-11-28 16:42:55 · 146 阅读 · 0 评论