简体   繁体   English

QT Creator编译器崩溃(MSVC 2015,Qt 5.8)

[英]QT Creator compiler crashing (MSVC 2015, Qt 5.8)

I'm new to C++ and programming, and trying to work on a little project, using Qt/Qt Creator . 我是C ++和编程的新手,并尝试使用Qt / Qt Creator从事一个小项目。

I was using the MinGW compiler, but especially for this project I will need to use the MSVC compiler (since I need QtWebEngineWidgets). 我使用的是MinGW编译器,但是特别是对于该项目,我将需要使用MSVC编译器(因为我需要QtWebEngineWidgets)。

I have Qt 5.8 and I'm using Qt Creator. 我有Qt 5.8,正在使用Qt Creator。 I downloaded Microsoft Visual Studio 2015 (Community), and also installed wdk and winsdk 2015 (1703 version) from Microsft's website. 我下载了Microsoft Visual Studio 2015(社区),还从Microsft的网站安装了wdk和winsdk 2015(1703版)。 It took a while! 花了一段时间!

So, I added the compiler and the debugger to the kit, but Qmake is still crashing. 因此,我将编译器和调试器添加到了套件中,但是Qmake仍然崩溃。

Here are some screenshots: 以下是一些屏幕截图:

编译器

调试器

我当前参数的套件

QMake错误消息,法语,但易于理解

If you need me to provide more informations about this issue, just ask for it and I will try my best. 如果您需要我提供有关此问题的更多信息,请提出要求,我们将尽力而为。

Thanks a lot for your help, and sorry for my poor english 非常感谢您的帮助,对不起我的英语不好

I don't see qmake crashing. 我看不到qmake崩溃。 I see that qmake completed its work properly. 我看到qmake正常完成了工作。 I see microsoft compiler crashing there. 我看到Microsoft编译器在那里崩溃。

Is it possible you're using 32bit build of Qt with a 64bit microsoft compiler? 您是否可能使用带有64位Microsoft编译器的Qt的32位版本? I see the crash is from amd64_x86/cl.exe but in the image I see 32bit msvc2015 Qt is selected. 我看到崩溃是来自amd64_x86 / cl.exe,但在图像中我看到选择了32bit msvc2015 Qt。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM