当前位置:网站首页>Basic construction of QT project
Basic construction of QT project
2022-07-29 10:46:00 【Cao Lele loves learning】
Default build mainwindow that will do . Step a little .
Use after creation Desktop5.12.9GCC Compile directly , Will report a mistake :
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Need to install open GL The library of :
sudo apt-get install libglu1-mesa-dev
QT Engineering analysis :
qt.pro
QT += core gui /
/ It refers to the modules to be used in the project If you want to use other modules , You can go to QT Check the modules on the official website
And then click :
And then :
And then :
Select the corresponding version ( I use it 5.12)
And then :
If you want to use a network module :
Click in :
Get it in your own project :
Be careful :
The contents of the document , It should correspond to the left window one by one
Click on the little hammer
, Is compiled ; Click on the green triangle
Is to compile and run ;
The generated file is at the same level as the project directory , Generated APP The name is the same as the project :

If you want to modify the generation app Name :

边栏推荐
- Use tidymodels to solve the binary logistic model
- 基于SSM实现高校后勤报修系统
- 这才是开发者神器正确的打开方式
- 2022cuda summer training camp Day2 practice
- 美团、饿了么被杭州市监约谈要求落实食品安全管理责任 严禁恶意竞争
- mosquitto_sub -F 参数使用
- 使用R包PreMSIm根据基因表达量来预测微卫星不稳定
- MySQL optimization theory study guide
- Explore SQL Server metadata (I)
- Implementation of college logistics repair application system based on SSM
猜你喜欢

Data visualization design guide (information chart)
![[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

mosquitto_ Sub -f parameter use

敏捷开发如何消减协作中的认知偏差?| 敏捷之道
![[paper reading] i-bert: integer only Bert quantification](/img/2e/4f574b266ec6fc88ffa5dab56f2b8d.png)
[paper reading] i-bert: integer only Bert quantification

If distributed file storage is realized according to integrated Minio

学习R语言这几本电子书就够了!

主子仓库都修改,如何进行同步?

12代酷睿处理器+2.8K OLED华硕好屏,灵耀14 2022影青釉商务轻薄本

Vim到底可以配置得多漂亮?
随机推荐
SAP Fiori @OData. Analysis of the working principle of publish annotation
Luogu p1816 loyalty solution
Pytorch 入门
[untitled]
Kunlun storage vs PostgreSQL OLTP test
Structure the eighth operation of the combat battalion module
Second handshake?? Three waves??
Mongodb aggregation statistics
factoextra:多元统计方法的可视化PCA
[paper reading] q-bert: Hessian based ultra low precision quantification of Bert
Consumer electronics, frozen to death in summer
Error: Protobuf syntax version should be first thing in file
PDF处理还收费?不可能
Site data collection -scrapy usage notes
Comprehensive and detailed SQL learning guide (MySQL direction)
2022cuda summer training camp Day6 practice
[Yugong series] go teaching course 010 in July 2022 - Boolean and character types of data types
2022cuda summer training camp Day1 practice
Mitsubishi PLC and Siemens PLC
HTB-AdmirerToo









