[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
Wed Dec 29 19:05:30 CET 2010
On 12/29/10 8:00 AM, in article
20101229130053.34BE7745C at nargothrond.macieira.info, "Thiago Macieira" wrote:
> On Tuesday, 28 de December de 2010 16:48:25 Michael Jackson wrote:
>> 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
>
> Like Konrad said, if you don't know, don't change it.
>
>> 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
>
> See also his concerns. 10k * 10k = 100Mpx. At ARGB32, it's 400 MB *per*
> *copy*. You should really tile your work.
>
> And you can access OpenGL directly too.
>
>> 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
>
> Now, the important thing here is that there are three options: raster, opengl
> and openvg. There aren't any other options on Windows -- not even native. And
> runtime is not an option.
>
>> 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
>
> The fact that it wasn't an option should have been a clue. Anyway, you can use
> the runtime graphics system on Windows. You just can't configure it as the Qt
> default.
>
> And it won't do anything, because there's nothing telling it to switch from
> raster to opengl and back, unlike on embedded devices.
>
>> 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.
>
> You mean an update to add an option that is not an option? No. The configure
> output is fine: it lists the options that are available. You used something
> that isn't.
>
> The configure program could validate what you write, though, against valid
> options. Currently it's a pass-through.
Thanks everyone for your input and feedback. I was pretty sure it was
"operator error" from the start but since both Qt 4.7.1 and VS2010 are both
new I wasn't sure if what the issue might be.
And to those that suggested options for my large images, thank you so much.
I will take a look at each suggestion and make appropriate code changes.
Thanks
Mike Jackson
Www.bluequartz.net
More information about the Qt-interest-old
mailing list