文章目录
Qt安装与测试使用
Qt安装
输入命令进行Qt的自动安装
sudo apt-get update
sudo apt-get install qt5-default qtcreator
Qt测试
测试程序
#include <QCoreApplication>
#include <QDebug>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug()<<"hello world";
cout << "hello_world!" << endl