2020-04-11 17:16:51 +00:00
|
|
|
|
= Настройка Qt Creator
|
|
|
|
|
:title-separator: {sp}|
|
|
|
|
|
:category: Linux/Программы
|
|
|
|
|
:tags: Linux, Qt, QtCreator, C++,
|
|
|
|
|
|
|
|
|
|
== Плагины
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
|
|
|
|
.Справка - О модулях (часть 1)
|
2020-04-11 20:09:16 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator21.png[qtcreator21,pdfwidth=90%,scaledwidth=90%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 18:20:55 +00:00
|
|
|
|
{empty} +
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
|
|
|
|
.Справка - О модулях (часть 2)
|
2020-04-11 20:09:16 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator22.png[qtcreator22,pdfwidth=90%,scaledwidth=90%,align="center"]
|
2020-04-11 19:43:14 +00:00
|
|
|
|
|
|
|
|
|
<<<
|
|
|
|
|
|
|
|
|
|
== Комплекты
|
|
|
|
|
|
|
|
|
|
[.text-center]
|
|
|
|
|
.Инструменты - Параметры - Комплекты - Комплекты
|
|
|
|
|
image::qtcreator-setup/qtcreator34.png[qtcreator34,pdfwidth=80%,scaledwidth=80%,align="center"]
|
|
|
|
|
|
|
|
|
|
{empty} +
|
|
|
|
|
|
|
|
|
|
[.text-center]
|
|
|
|
|
.Инструменты - Параметры - Комплекты - Комплекты - Генератор CMake - Изменить
|
|
|
|
|
image::qtcreator-setup/qtcreator35.png[qtcreator35,align="center"]
|
2020-04-11 17:44:28 +00:00
|
|
|
|
|
|
|
|
|
<<<
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 19:43:14 +00:00
|
|
|
|
|
2020-04-11 17:16:51 +00:00
|
|
|
|
== Среда
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
|
|
|
|
.Инструменты - Параметры - Среда - Система
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator41.png[qtcreator41,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 18:20:55 +00:00
|
|
|
|
{empty} +
|
|
|
|
|
|
2020-04-11 17:16:51 +00:00
|
|
|
|
== Редактор
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
|
|
|
|
.Инструменты - Параметры - Текстовый редактор - Поведение
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator42.png[qtcreator42,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:49:41 +00:00
|
|
|
|
|
|
|
|
|
<<<
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
|
|
|
|
== C++
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Инструменты - Параметры - С++ - Именование файлов
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator51.png[qtcreator51,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 18:20:55 +00:00
|
|
|
|
{empty} +
|
|
|
|
|
|
2020-04-11 17:16:51 +00:00
|
|
|
|
== Стилизатор
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Инструменты - Параметры - Стилизатор - Uncrustify
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator55.png[qtcreator55,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:49:41 +00:00
|
|
|
|
|
|
|
|
|
<<<
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
|
|
|
|
== Сборка и запуск
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Инструменты - Параметры - Сборка и запуск - Основное
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator61.png[qtcreator61,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 18:20:55 +00:00
|
|
|
|
{empty} +
|
|
|
|
|
|
2020-04-11 17:16:51 +00:00
|
|
|
|
== To-Do
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Инструменты - Параметры - To-Do
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator67.png[qtcreator67,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:49:41 +00:00
|
|
|
|
|
|
|
|
|
<<<
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
|
|
|
|
== Импорт проекта на CMake
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Импорт проекта - Настроить проект
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator74.png[qtcreator74,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|
2020-04-11 18:20:55 +00:00
|
|
|
|
{empty} +
|
|
|
|
|
|
2020-04-11 17:16:51 +00:00
|
|
|
|
== Сборка
|
|
|
|
|
|
2020-04-11 17:59:22 +00:00
|
|
|
|
[.text-center]
|
2020-04-11 18:06:02 +00:00
|
|
|
|
.Проект - Настройки сборки
|
2020-04-11 18:48:55 +00:00
|
|
|
|
image::qtcreator-setup/qtcreator81.png[qtcreator81,pdfwidth=80%,scaledwidth=80%,align="center"]
|
2020-04-11 17:16:51 +00:00
|
|
|
|
|