当前位置:网站首页>QT 出现多冲定义问题
QT 出现多冲定义问题
2022-08-04 05:34:00 【_杜竞宁_】
QT 出现多冲定义问题,发现原因是,移除文件时,QT修改 .pro 文件出错,导致源文件和头文件重复包含了
.pro如下:
SOURCES += \
main.cpp \
peplayerservice.cpp \
main.cpp \
peplayerservice.cpp \
Utils/playercommon.cpp
HEADERS += \
peplayerservice.h \
peplayerservice.h \
Utils/playercommon.h
解决:去掉重复包含的文件重新编译就好了
SOURCES += \
main.cpp \
peplayerservice.cpp \
Utils/playercommon.cpp
HEADERS += \
peplayerservice.h \
Utils/playercommon.h
边栏推荐
- JUC并发容器——ConcurrentLinkedQueue
- Uos统信系统 SSH
- 更改软件的默认安装位置
- Flask request 返回网页中 checkbox 是否选中
- 并发概念基础:线程安全与线程间通信
- Microsoft Store 微软应用商店无法连接网络,错误代码:0x80131500
- 华硕飞行堡垒系列无线网经常显示“无法连接网络” || 一打开游戏就断网
- RuntimeError: You called this URL via POST, but the URL doesn‘t end in a slash and you have APPEND_S
- 数据库实体类对应daoimpl,基础的增删改查。
- 安全漏洞是如何被发现的?
猜你喜欢
随机推荐
2020-03-27
MVC custom configuration
CMDB 腾讯云部分实现
Object. RequireNonNull method
【HIT-SC-MEMO1】哈工大2022软件构造 复习笔记1
动态内存管理-C语言
Treating as key frame since WebRTC-SpsPpsIdrIsH264Keyframe is disabled 解决
MySQL基础
POI及EasyExcel
MySQL stored procedure study notes (based on 8.0)
vs2017 redist 下载地址
硬件描述语言Verilog HDL学习笔记之模块介绍
2022在 Go (Golang) 中使用微服务的系统课程
华硕飞行堡垒系列无线网经常显示“无法连接网络” || 一打开游戏就断网
sql常用函数
MySQL之SQL结构化查询语言
webrtc代码解读一:音频数据的接收解码播放过程
让src文件夹能读取xml文件
strlen 转义字符
Pipe redirection