[Qt-interest] QT Creator hangs drawing window

Andrew Brooks arb at sat.dundee.ac.uk
Thu Apr 9 15:23:38 CEST 2009


On Thu, 09 Apr 2009 11:12:32 +0100, Andreas Pakulat <apaku at gmx.de> wrote:
> On 09.04.09 10:29:16, Andrew Brooks wrote:
>>
>> I've just built Qt-4.5.0 and Qt-Creator-1.0.0 but it hangs.  It opens a window
>> which is totally grey, no content whatsoever, and gets stuck consuming CPU time
>> but not making any system calls.  I tried on two different linux boxes and used
>> strace to verify the latter.
>
> Does this also happen when you run it with the native paintengine
> instead of the raster engine?

Thanks for the tip.  When I run

% qtcreator -graphicssystem opengl

on one computer I get
Unable to load graphicssystem "opengl"

on another computer I get these errors and the window is blank as before
using visual class 4, id 28
QGLPixelBuffer: Unable to find a context/format match - giving up.
QGLWindowSurface: Failed to create valid pixelbuffer, falling back
hijackWindow() context created for Core::Internal::MainWindow(0x8123f80) 1
QGLWindowSurface: Using plain widget as window surface 0x81594b0

When I run
% qtcreator -graphicssystem native
the window is blank as I described

When I run
% qtcreator -graphicssystem raster
I actually see the window contents!!

Problem (1) only the raster system displays anything at all.

BUT, I then clicked in the Locator and up popped the list of options.
Subsequently it goes blank (white) and won't disappear. (Problem 2)

Even worse when I click and type into the locator the whole of qtcreator
hangs.  (Again, using gdb it appears to be in QRasterizer::rasterize).
Problem 3!   (I suspect all three are somehow related?)

Andrew




More information about the Qt-interest-old mailing list