QT
文章平均质量分 70
邓白告
这个作者很懒,什么都没留下…
展开
-
QT基础二 QTCreator基本配置
2.1 工程配置文件QTCreator中有4种配置文件:pro、pri、prf、prl2.1.1 pro说明文档:Variables | qmake Manual注释:#1. QTQT += core gui sql xml 加载core gui、sql和xml库。2.TEMLATETEMPLATE = app 项目类型为applicationTEMPLATE = lib 项目类型为Library3.临时文件位置指定MOC_DIR = temp/moc #指定mo原创 2022-02-20 11:08:35 · 2566 阅读 · 0 评论 -
QT基础一 概述
1.1 下载安装1.1.1 windows平台安装QT下载:Index of /archive/qtQT6在线安装地址:Index of /archive/online_installers/4.0在线安装器 http://download.qt.io/official_releases/online_installers/ 下载完成后在安装过程中选择QT版本1.1.2 Linux平台安装安装方法一(无法选择版本):切换到root用户ysudo apt-g..原创 2022-02-20 11:05:09 · 526 阅读 · 0 评论 -
QT6 报错 error “Qt requires a C++17 compiler, and a suitable value for __cplusplus. On MSVC, you must
1. 右键项目-属性-c/c++ - 命令行 - 其他选项框里添加/Zc:__cplusplus2.右键项目-属性-常规-C++语言标准-C++17标准,搞定!原创 2021-11-08 14:49:05 · 6236 阅读 · 7 评论