当前位置:网站首页>Summary of QT semaphore unresolved errors
Summary of QT semaphore unresolved errors
2022-04-23 11:19:00 【Brother dampness】
Error is as follows :
signals:
void mousePress(QMouseEvent *event);
error LNK2019 Unresolved external symbols "public: void __cdecl QCustomPlot::mousePress(class QMouseEvent *)" (?mousePress@QCustomPlot@@QEAAXPEAVQMouseEvent@@@Z), The sign is in the function "protected: virtual void __cdecl QCustomPlot::mousePressEvent(class QMouseEvent *)" (?mousePressEvent@QCustomPlot@@MEAAXPEAVQMouseEvent@@@Z) Cited in TollgateEditorQT D:\S3TollgateEditorSkillNew\TollgateEditorQT\qcustomplot.obj 1
According to the Internet, there may be no moc, It turns out not
cd D:\xxxx
D:
moc "D:\xxxx\qcustomplot.h" -o "D:\xxxx\qcustomplot.cpp"
I regenerate a moc, Mistakes still exist
Later, I made a reply , Because I'm a transplant project , There may be two same classes , Cause engineering xxxxx.vcxproj From the Central Plains moc Of , Now it's less
use notepad open , Just add it
<ClCompile Include="GeneratedFiles\Debug\moc_qcustomplot.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</ClCompile>
Compile and pass
版权声明
本文为[Brother dampness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231115091148.html
边栏推荐
- Learning go language 0x08: practice using error in go language journey
- Learn go language 0x03: understand the dependency between variables and initialization order
- Share two practical shell scripts
- CUMCM 2021-b: preparation of C4 olefins by ethanol coupling (2)
- stylecloud ,wordcloud 库学习及使用例子
- Database management software sqlpro for SQLite for Mac 2022.30
- Get things technology network optimization - CDN resource request Optimization Practice
- C语言之结构体(进阶篇)
- PDMS soft lithography process
- Go interface usage
猜你喜欢
An interesting interview question
MySQL Router重装后重新连接集群进行引导出现的——此主机中之前已配置过的问题
数据库管理软件SQLPro for SQLite for Mac 2022.30
After the MySQL router is reinstalled, it reconnects to the cluster for boot - a problem that has been configured in this host before
语雀文档编辑器将开源:始于但不止于Markdown
Jupyter Lab 十大高生产力插件
Share two practical shell scripts
Use of SVN:
升级cpolar内网穿透能获得的功能
PDMS soft lithography process
随机推荐
Which company is good for opening futures accounts? Who can recommend several safe and reliable futures companies?
Mba-day6 logic - hypothetical reasoning exercises
Alarm scene recognition
R-Drop:更强大的Dropout正则方法
Promise details
Mysql8.0安装指南
After the MySQL router is reinstalled, it reconnects to the cluster for boot - a problem that has been configured in this host before
MySQL failed to insert the datetime type field without single quotation marks
Learn go language 0x06: Fibonacci closure exercise code in go language journey
ffmpeg命令行常用参数
Explain in detail the pitfalls encountered in DTS due to the time zone problems of timestamp and datetime in MySQL
After the MySQL router is reinstalled, it reconnects to the cluster for boot - a problem that has been configured in this host before
An interesting interview question
Oracle连通性测试小工具
Cumcm 2021 - B: préparation d'oléfines C4 par couplage éthanol (2)
学习 Go 语言 0x05:《Go 语言之旅》中映射(map)的练习题代码
Structure of C language (Advanced)
解读机器人编程课程的生物认知度
面向全球市场,PlatoFarm今日登录HUOBI等全球四大平台
解读机器人创造出来的艺术