使用qmake进行编译错误:(C2059):语法错误:'\\ n'中的'delete'... \include; \\ memory [英] Compilation error using qmake: (C2059):syntax error: 'delete' in ...\include\memory

查看:320
本文介绍了使用qmake进行编译错误:(C2059):语法错误:'\\ n'中的'delete'... \include; \\ memory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用qmake(Qt 5.11.1 MSVC2017 64位)在Windows上编译项目。我在标题中得到了错误,我不知道原点是怎么回事。这肯定是使用std库的一个问题...

I am using qmake (Qt 5.11.1 MSVC2017 64 bit) to compile a project on windows. I got the error in the title and I have no idea how the origin. It is certainly a problem with the std library used...

有人有想法吗?如果您需要更多信息,请告诉我!

Is someone have an idea? Tell me if you need more informations!

谢谢

推荐答案

b $ b

感谢您发布此处。

>>我正在使用qmake(Qt 5.11.1 MSVC2017 64位)在Windows上编译项目。我在标题中得到了错误,我不知道原点是怎么回事。这肯定是使用std库的一个问题...

有人有想法吗?如果您需要更多信息,请告诉我!


链接
列出了C2059错误的一些原因,也许它可以帮到你。如上所述,要确定错误原因,不仅要检查错误消息中列出的行,还要检查错误消息中的行。如果检查这些行不会产生关于该问题的线索,
会尝试注释掉错误消息中列出的行,并且可能在其上面有几行。

This link lists some reasons of error C2059, maybe it can help you. As it said, to determine the cause of the error, examine not only the line that's listed in the error message, but also the lines above it. If examining the lines yields no clue about the problem, try commenting out the line that's listed in the error message and perhaps several lines above it.

您的问题更多是关于QT,我建议您在
QT论坛
上发布您的问题。  < br $>

And your issue is more about QT, I suggest you to post your question on the QT forum

祝福,祝你好运b $ b

Best Wishes,

Jack Zhang

Jack Zhang


这篇关于使用qmake进行编译错误:(C2059):语法错误:'\\ n'中的'delete'... \include; \\ memory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆