简体   繁体   English

将预先构建的Qt二进制文件用于MSVS 2008和MSVS 2010

[英]Using prebuilt Qt binaries for MSVS 2008 with MSVS 2010

I have tried to use the pre-built Qt binaries for MSVS 2008 with MSVS 2010. (There are no pre-built binaries for MSVS 2010.) 我尝试将MSVS 2008的预构建Qt二进制文件与MSVS 2010一起使用。(MSVS 2010没有预构建的二进制文件。)

This works fine for release builds, but with debug builds my Qt app fails to start with the error messages 这对于发行版本工作正常,但在调试版本中,我的Qt应用无法以错误消息开头

The application failed to initialize properly (0xc0150002).
Click on OK to terminate the application.

and

LDR: LdrpWalkImportDescriptor() failed to probe
C:\Libraries\Qt\4.7.4\bin\QtCored4.dll for its manifest,
ntstatus 0xc0150002

Is there a work-around for this, or do I have to build my own MSVS 2010 binaries from the Qt source? 是否有解决方法,还是必须从Qt源构建自己的MSVS 2010二进制文件?

There's no workaround, Visual Studio is not bent on binary compatibility (on the contrary). 没有任何解决方法,Visual Studio并不追求二进制兼容性(相反)。

If you don't want to build Qt yourself, you can always use the 4.8 beta binaries from here , they offer VS2010 builds. 如果您不想自己构建Qt,则始终可以从此处使用4.8 beta二进制文件,它们可以提供VS2010构建。

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

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