当前位置:网站首页>QT工程基本构建
QT工程基本构建
2022-07-29 10:35:00 【曹乐乐爱学习】
默认构建mainwindow即可。步骤略。
创建好后用Desktop5.12.9GCC直接编译,会报错:
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
需要安装open GL的库:
sudo apt-get install libglu1-mesa-dev
QT工程分析:
qt.pro
QT += core gui /
/指该工程中要使用的模块 如果要使用其他模块,可以去QT官网查看都有哪些模块
然后点击:
再然后:
再然后:
选择对应版本(我用的是5.12)
再然后:
如果要使用网络模块:
点进去:
拿到自己工程中:
注意:
文件内容,要与左边窗体一一对应
点击小锤子
,是编译;点击绿三角
是编译并运行;
生成的文件与工程目录同级,生成的APP名字与工程同名:

如果要修改生成app的名字:

边栏推荐
- VMWare:使用命令更新或升级 VMWare ESXi 主机
- Follow teacher Tian to learn practical English Grammar (continuous update)
- Mongodb aggregation statistics
- 主子仓库都修改,如何进行同步?
- 12th generation core processor +2.8k OLED ASUS good screen, lingyao 142022 shadow cyan glaze business thin book
- 12代酷睿处理器+2.8K OLED华硕好屏,灵耀14 2022影青釉商务轻薄本
- 使用 RTCGA 临床数据进行生存分析
- 2022cuda summer training camp Day1 practice
- [untitled]
- paho交叉编译
猜你喜欢

跟着田老师学实用英语语法(持续更新)

会议OA项目(五)---- 会议通知、反馈详情

关系型数据库之MySQL8——由内而外的深化全面学习

Tell you from my accident: Mastering asynchrony is key

Two MySQL tables with different codes (utf8, utf8mb4) are joined, resulting in index failure

mosquitto_sub -F 参数使用

remap_ Use of table in impdp
![[dark horse morning post] Youxian responded to the dissolution every day, and many places have been unable to place orders; Li Bin said that Wei Lai will produce a mobile phone every year; Li Ka Shing](/img/d7/4671b5a74317a8f87ffd36be2b34e1.jpg)
[dark horse morning post] Youxian responded to the dissolution every day, and many places have been unable to place orders; Li Bin said that Wei Lai will produce a mobile phone every year; Li Ka Shing

Summer 2022 software innovation laboratory training JDBC

这才是开发者神器正确的打开方式
随机推荐
Use R-Pack skimr to collect the beautiful display of President measurement
2018-UperNet ECCV
R 语言 Monte Carlo方法 和平均值法 计算定积分, 考虑随机投点法,计算在置信度0.05, 要求为ϵ=0.01 , 所需要的试验次数
How can agile development reduce cognitive bias in collaboration| Agile way
Implementation of college logistics repair application system based on SSM
Software testing dry goods
ADB shell WM command and usage:
Is there any charge for PDF processing? impossible
这才是开发者神器正确的打开方式
Add: create Ou structure using PowerShell
Mongodb aggregation statistics
通过tidymodels使用XGBOOST
【论文阅读】Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
学习R语言这几本电子书就够了!
Learning R language these ebooks are enough!
Second handshake?? Three waves??
R language brca MRNA data set analysis
MySQL优化理论学习指南
Kunlunbase instruction manual (III) data import & synchronization
Evolution of xxl-job architecture for distributed scheduling









