0、本文目标
做一个简易的QT界面,内容为QQ登录界面。
1、工程创建
剩下一路完成即可。点击pro文件,如下:
QT += core gui #往QT工程加入core gui模块
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets #假如QT库版本大于4,加入widgets模块
CONFIG += c++17
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \ #指定工程里有哪些cpp文件