[Qt-interest] Problem with widget + opengl

fungos fungos at gmail.com
Mon Dec 7 18:37:30 CET 2009


Yeah, sorry about that. I added a (short) description of the problem
as code comment and it got hidden by the code.

"// Issue 1: Menu doesn't work - I can't click it" - It just doesn't
receive clicks or doesn't respond to them. The menu is there, but it
"does not work".
"// Issue 2: Layout doesn't work - widgets get over each other" - I
try to add some widget to a QVBoxLayout and all widgets get stuck in
the same position.

Anyway, this is not meant for debugging, the code is plain and simple,
it must be some wrong usage that someone with Qt experience can spot
very easily.

Thanks

On Mon, Dec 7, 2009 at 7:00 AM,  <Oliver.Knoll at comit.ch> wrote:
> fungos wrote on Sunday, December 06, 2009 5:16 AM:
>
>> Hi, I'm having trouble to get some widgets working under
>> QGraphicsScene + OpenGL.
>>
>> This is the code:
>
> And what is the problem?
>
>> Download code + project here:
>> http://jump.fm/JNPKL
>
> People (well, me at least) usually don't feel like studying/debugging other people's code, especially if they have no clue what to look after. So a short description of what goes wrong ("Widget does not appear, looks garbled, wrong colours, ...") and what you already tried motivates people to answer your question ;) Descriptions like "it worked in 4.5 but now it doesn't!" are not enough... also refer to http://catb.org/~esr/faqs/smart-questions.html ;)
>
> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Animal Liberation Front
http://www.animal-liberation.com/




More information about the Qt-interest-old mailing list