[Qt-interest] [Qt-Interest] Visual Studio 2010 Compile of 64 bit Qt 4.7.1 Results in bad executables
Michael Jackson
mike.jackson at bluequartz.net
Tue Dec 28 21:17:01 CET 2010
As Thiago just pointed out I didn't do a very good job of explaing what is
actually happening.
When I double click on any of the executables that are created (Assistant,
Designer..) I get a crash instead. I have been doing some digging and if one
uses the files that Microsoft generates and wants to send back to Seattle
then you can get the state of the program when the crash happens.
The exception is that the application used up its heap stack space (Error:
0xC00000FD). Looking at the stack I can see that the stack looks like it
alternating between line 338 in qgraphicsssytem_runtime.cpp and line 85 in
qgraphicssystemfactory.cpp.
-----qgraphicssystemfactory.cpp
if (system == QLatin1String("raster"))
return new QRasterGraphicsSystem;
else if (system == QLatin1String("runtime"))
===> return new QRuntimeGraphicsSystem;
else if (system.isEmpty() || system == QLatin1String("native"))
return 0;
I did configure with -graphicssystem runtime so maybe that is the problem? I
am also running this in Parallels Virutal Machine with 3D Acceleration
turned ON? Maybe a graphics Driver Issue?
Sorry for the lack of information the first time around.
Mike Jackson
On 12/28/10 2:40 PM, in article C93FA74E.18A77%mike.jackson at bluequartz.net,
"Michael Jackson" wrote:
> I am trying to compile Qt 4.7.1 with Visual Studio 2010. I read through the
> page that suggested downloading a hotfix for VS2010 from here:
>
> http://code.msdn.microsoft.com/KB2280741/Release/ProjectReleases.aspx?Releas
> eId=4974
>
> I completely deleted the old build. Applied the hotfix. Unzipped from source
> again and configured, and compiled. This is my configure line:
>
> configure -nomake demos -nomake examples -debug-and-release -shared -fast
> -exceptions -stl -graphicssystem runtime -no-qt3support -opensource
>
> I used Jom version 1.0.2 to compile from the command line. I used a "Visual
> Studio 2010 64 Bit command Prompt" in order to do the configuring and
> compiling". This is on Windows 7 x64 with Visual Studio 2010 Professional.
>
> Here is the information from Visual Studio
> Microsoft Visual Studio 2010
> Version 10.0.30319.1 RTMRel
> Microsoft .NET Framework
> Version 4.0.30319 RTMRel
>
> Installed Version: Professional
>
> Microsoft Visual C++ 2010 xXXXXXXXXXXX
> Microsoft Visual C++ 2010
>
> Microsoft Visual Studio 2010 Team Explorer XXXXXXXXXXXXXXXXXXX
> Microsoft Visual Studio 2010 Team Explorer
>
> Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2280741)
> KB2280741
> This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
> If you later install a more recent service pack, this hotfix will be
> uninstalled automatically.
> For more information, visit http://support.microsoft.com/kb/2280741.
>
> Visual Assist X
> For more information about Visual Assist X, see the Whole Tomato Software
> website at http://www.WholeTomato.com. Copyright (c) 1997-2010 Whole Tomato
> Software, Inc.
>
> Not sure what else to try. Is compiling Qt 4.7.1 in 64 bit mode supported?
>
> Thanks
> Mike Jackson
> Www.bluequartz.net
>
More information about the Qt-interest-old
mailing list