简体   繁体   English

来自模块5.0.2的Qt 5.1 Visual Studio 2010调试错误

[英]Qt 5.1 Visual Studio 2010 debug error from module 5.0.2

i´m some kind of newbe when using Qt with Visual Studio i rather like the QtCreator. 将Qt与Visual Studio一起使用时,我有点像新手,而更喜欢QtCreator。 Somehow, i´m involved in a c++ project where I need it now. 不知何故,我参与了一个我现在需要的c ++项目。 I got the project successsfully compiled with VS 2010 & Qt version 5.0.2 but since Qt 5.1.0 I get a strange debug error when Visual Studio tries to start the appplication after compilation. 我成功使用VS 2010和Qt 5.0.2版成功编译了该项目,但是自Qt 5.1.0起,我在Visual Studio尝试在编译后启动应用程序时收到一个奇怪的调试错误。 The picture of the error is attached here . 错误的图片附在这里 I read that Qt projects now need the "platforms" folder inside the Qt app and I allready moved it there but still with no luck. 我读到Qt项目现在需要Qt应用程序内的“ platforms”文件夹,我已经将它移到了那里,但是还是没有运气。

Actually I got Qt 5.1.1 and its the same mess but I need the 5.1.x framework because they added the windowcontainer in it. 实际上,我得到了Qt 5.1.1及其相同的混乱,但是我需要5.1.x框架,因为他们在其中添加了windowcontainer。 What I think is strange is that the error seems to come from a 5.0.2 module but i removed Qt 5.0.2 completely (at least I thought so). 我认为很奇怪的是,该错误似乎来自5.0.2模块,但我完全删除了Qt 5.0.2(至少我这样认为)。 I allready changed the projects Qt version to the actual one, changed my Qts environment variables and checked the paths to the external libs. 我已经将项目Qt版本更改为实际版本,更改了Qts环境变量,并检查了到外部库的路径。 When installing Qt 5.0.2 again and changing the project to it all works fine again. 当再次安装Qt 5.0.2并将项目更改为Qt时,一切再次正常。 There seems to be something I missed - has anyone a hint or something for me? 似乎有些我想念的东西-有没有人对我有用或暗示?

哦,不,我今天再次检查了项目文件夹中的文件,却错过了用新的Qt dll替换旧的Qt dll的问题…… 把我的头撞到了桌子上 ……这立即解决了问题,但您的答案却不胜数: )

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

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