https://download.qt.io/official_releases/qtcreator/13.0/13.0.2/
Модули https://download.qt.io/official_releases/qt/5.15/5.15.14/submodules/
устанавливать через QT creator -> о модулях -> установить модуль
win
https://www.msys2.org/
https://www.msys2.org/docs/package-management/
Команда для установки Qt Creator, Qt 5.15.10, Qt 6 (latest available), а также некоторых других зависимостей msys2
Код: Выделить всё
pacman -S base base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-qt-creator mingw-w64-x86_64-qt6-static mingw-w64-x86_64-cmake mingw-w64-x86_64-clang mingw-w64-x86_64-cc mingw-w64-x86_64-clang mingw-w64-x86_64-qt5-static mingw-w64-x86_64-vulkan-headers mingw-w64-x86_64-python mingw-w64-x86_64-clang-tools-extra
Код: Выделить всё
pacman -S mingw-w64-x86_64-cmake-gui
Код: Выделить всё
pacman -S mingw-w64-x86_64-kicad-meta
Код: Выделить всё
pacman -Syu // Обновление пакетов
pacman -S mingw-w64-x86_64-qt5 // Установка Qt5
pacman -S mingw-w64-x86_64-qt5-webengine // Установка QWebEngineView
pacman -S mingw-w64-x86_64-qt5-webview
https://packages.msys2.org/groups/mingw-w64-x86_64-qt5
для их установки в msys2 использовать:
Код: Выделить всё
pacman -S mingw-w64-x86_64-qt5
Код: Выделить всё
pacman -S mingw-w64-x86_64-qt5-debug
Код: Выделить всё
pacman -S mingw-w64-x86_64-kf5
Код: Выделить всё
pacman -S mingw-w64-x86_64-ccmake mingw-w64-x86_64-cmakerc
Код: Выделить всё
pacman -S mingw-w64-x86_64-qtwebkit
Код: Выделить всё
pacman -S mingw-w64-x86_64-libevent
https://download.qt.io/official_releases/qt/6.7/6.7.2/submodules/
https://www.qt.io/download-qt-installer
https://mirrors.20i.com/pub/qt.io/archive/qt-installer-framework/4.8.0/QtInstallerFramework-windows-x64-4.8.0.exe
Build Tools для Visual Studio 2019:
https://visualstudio.microsoft.com/ru/downloads/ в разделе "Инструменты для Visual Studio 2019"
Windows 10 SDK:
https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
CMake:
https://cmake.org/download/
Qt:
https://www.qt.io/offline-installers
Библиотеки:
https://code.qt.io/cgit/qt/
Linux qtcreator
Код: Выделить всё
sudo apt install qtcreator libkf5webkit-dev qtwebengine5-dev
cpp/web3/web3/main.cpp
Код: Выделить всё
/*
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
*/
#include <QApplication>
#include <QProcess>
#include <QWidget>
#include <QVBoxLayout>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWidget window;
window.setWindowTitle("Запуск другой программы");
window.resize(400, 300);
QVBoxLayout *layout = new QVBoxLayout(&window);
QPushButton *button1 = new QPushButton("cloud", &window);
layout->addWidget(button1);
QPushButton *button2 = new QPushButton("doc", &window);
layout->addWidget(button2);
QProcess process;
QObject::connect(button1, &QPushButton::clicked, [&process]() {
process.start("/usr/bin/google-chrome-stable cloud.phoenix-ekb.ru");
});
QObject::connect(button2, &QPushButton::clicked, [&process]() {
process.start("/usr/bin/google-chrome-stable doc.phoenix-ekb.ru");
});
window.show();
return app.exec();
}
gt@deb:~$