---------------------------------------------------------------
关联参考:
Qt .run软件包卸载:Qt,QtCreator > https://blog.csdn.net/ken2232/article/details/136824842
Qt Creator 最新正式版的官网下载网址,及设置 (***) QtCreator > https://blog.csdn.net/ken2232/article/details/132695032
Qt 5:qt-opensource-linux-x64-5.14.2.run 安装到 ubuntu 24.04 (***)/ 安装新版本 qt creator > https://blog.csdn.net/ken2232/article/details/139459297
linux下:.run文件的安装与卸载 > https://blog.csdn.net/ken2232/article/details/136120286
ubuntu安装 Qt 5.14.2:qt-opensource-linux-x64-5.14.2.run > https://blog.csdn.net/ken2232/article/details/132033000
Linux下制作.run安装包 > https://blog.csdn.net/ken2232/article/details/129397454
如何在Linux上安装QT Creator?> https://blog.csdn.net/ken2232/article/details/140126721
Ubuntu 22.04:安装Qt 5.14.2、Qt Creator 12,及问题 (***) https://blog.csdn.net/ken2232/article/details/136115903
---------------------------------------------------------------
要点:
1. 断网安装。否则,默认会联网,麻烦?
2. 执行权限:
$ ./qt-creator-opensource-linux-x86_64-14.0.2.run
bash: ./qt-creator-opensource-linux-x86_64-14.0.2.run: Permission denied
3. 安装在哪里?
$ whereis qtcreator
qtcreator: /opt/qtcreator-12.0.2/bin/qtcreator
====================================
1. 下载
Qt 的文件目录,有点乱;存档分布在多个文件夹内,如 archive/ ,以及其他。
2023年的文件夹------>>最新正式版的官网下载网址:/official_releases/qtcreator/
https://download.qt.io/official_releases/qtcreator/
2. 设置
已有的环境:
1. 安装了低版本的 Qt; 官方配套的 低版本 Qt Creator 运行 OK。
2. 安装高版本的 Qt Creator。
运行高版本的 Qt Creator,显示如下图,编译器之类的选项,此时无效。
设置步骤
Edit--> Preferences--> 下图设置步骤 1/2;重启后,点3 如图所示。
步骤 2,只给出了路径的片段 “C:\Qt\Qt5.14.2”,按“link with Qt”按钮后,自动完成的路径的搜索。
重启 Creator 后,就得到如下图片的结果。
3. 运行
OK.
Why ? 我也搞不清楚。
注 1:打开菜单 help 的一个子菜单,里面有提示。但后来再找这个帮助的内容,忘记在哪里了;当时只是按照提示去设置,也没有搞明白那段话的意思。
注 2:需要以管理员权限运行。否则,
Kit菜单页的编译器之类的,有警告图标出现。
sample例子装载异常。
注 3:似乎 Qt (库) 和 Creator,是两个可以分离安装的软件。需要 “link with Qt” 将它们关联起来。
With which Qtcreator to "link with" ?
With which Qtcreator to "link with" ? | Qt Forum
SimonSchroeder
2021年6月22日 15:54
Qt Creator is just the IDE and is independent of the Qt libraries (other than Qt Creator is itself a Qt application and needs Qt runtime libraries). You don't link against Qt Creator. You link against the Qt libraries. It is perfectly fine to have different Qt library versions installed, either major or minor versions. As long as they are in different directories, you are fine. For each kit you just select the corresponding qmake inside the install directory of the Qt library version. BTW: Never move/copy/rename the install location of your libraries. qmake will have that path baked in. I believe there are tricks around that, but the advice is: just don't do it.
Each installation of Qt Creator can be configured to work with any Qt library. Two installations of Qt Creator might even share the kits configuration.
Qt:配置Qt Creator_link with qt_OceanStar的学习笔记的博客-CSDN博客
每个套件都包含一组定义一个环境的值,例如设备,编译器和Qt版本。如果您知道已安装Qt版本,但未在工具 >选项 >Kits>Qt版本中列出,请选择Link with Qt。
如果自动检测下仍未列出Qt版本,请选择添加以手动添加它。
有关更多信息,请参见添加Qt版本。
=======================================
Qt-Qt Creator的下载、安装与配置(Windows)
https://blog.csdn.net/zhaitianbao/article/details/119676610