[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 22:48:25 CET 2010
On 12/28/10 4:23 PM, in article
20101228212321.59D3D7404 at nargothrond.macieira.info, "Thiago Macieira" wrote:
> On Tuesday, 28 de December de 2010 15:17:01 Michael Jackson wrote:
>> I did configure with -graphicssystem runtime so maybe that is the problem?
>
> Yes. Why are you trying to use the runtime graphics system on Windows?
>
> That was created for Symbian and MeeGo and it alternates between OpenGL and
> the system's graphics system. You shouldn't be using it at all. You shouldn't
> be using the -graphicssystem option at all on Windows.
>
> Since you configured the runtime as the system default, you get a stack
> overflow
> when the runtime graphics system tries to create the system's default graphics
> sytem.
I don't want to start any type of argument, but let's pretend for a second
that I don't actually know what each and every possible configuration option
does and so I need to depend on the help from the "configure" script. So
using "configure --help" I see the following:
-graphicssystem <sys> Specify which graphicssystem should be used.
Available values for <sys>:
* raster - Software rasterizer
opengl - Using OpenGL acceleration, experimental!
openvg - Using OpenVG acceleration, experimental!
Now, since I am creating a program that displays very large images (10k x
10k pixels) i certainly don't want the "raster - Software Rasterizer". The
Next option, "opengl" looks the best but the whole "this is experimental"
scares me. After looking through some example code I got the idea that not
all Windows systems would have opengl available/enabled so some googling
comes up with "-graphicssystem=runtime" with no context to tell me that it
should be MeeGo/Symbian. Working with Visual Studio 2008 all works just
fine. So take the same settings from VS 2008 and try and build with VS2010.
That is my story of how I got there.
What would have helped me forgo this "problem"? Maybe an update to the
"configure" script to actually list the "runtime" option and how it is ONLY
for MeeGo/Symbian. That much would have at least made me think twice before
actually configuring Qt with that option on my own system.
I do appreciate your help with this. As always, keep up the great work.
Respectfully
Mike Jackson
More information about the Qt-interest-old
mailing list