[Qt-interest] outside X inside IDE, different behaviour

frares at gmail.com frares at gmail.com
Fri Aug 19 15:36:12 CEST 2011


Hi, once again.

I guess there really is a bug out there.

I have managed to make things work using exclusively the "eventFilter"  
applied to the QGraphicsView object. But in the docs you can see that, if  
you return "false" on your implementation of that method, other event  
treatment methods should receive the event not filtered. That's not working  
every time, as if you run the program inside the IDE, everything works, but  
from a command prompt, for instance, many SVG buttons don't work anymore -  
but some do!

I will build two zip files, one fully working and another just from inside  
the IDE, and then issue a bug tracking.

Thanks a lot
Francisco


Em 17/08/2011 13:58, frares at gmail.com escreveu:
> Hello again

> I have tested a little further, and implemented the mouse hovering  
> events. All SVG items respond to those, no matter release nor debug, even  
> launched inside the IDE or from a file manager.

> Thanks
> Francisco


> Em 16/08/2011 12:16, Anton Chernov mechernov at gmail.com> escreveu:
> > Probably the svg module, try to put the svg dll to your distribution.
> >
> >
> >
> > 2011/8/16 frares at gmail.com>:
> >
> > > Hi, Guys
> >
> > >
> >
> > > I have built a keypad for an image viewing application that a friend
> >
> > > (mostly) and I are building, using mainly a QWidget with only a
> >
> > > QGraphicsView that contains a QGraphicsScene , that contains 26  
> buttons in a
> >
> > > grid that inherits from QGraphicsSvgItem .
> >
> > >
> >
> > > When run from inside the IDE, both debug and release versions work.  
> Now,
> >
> > > running the app from a file manager or even from command line, things
> >
> > > differ: the debug version works fine, but on the release one, only a  
> few
> >
> > > buttons work, and there is no pattern I could find on which will  
> work, which
> >
> > > won't. So it seems to me it might be an environment mismatch, but  
> can't find
> >
> > > it.
> >
> > >
> >
> > > I am using Qt 4.7.1 , built it from sources using MS Visual Studio  
> 2005 SP1.
> >
> > >
> >
> > > Thanks
> >
> > > Francisco
> >
> > > _______________________________________________
> >
> > > Qt-interest mailing list
> >
> > > Qt-interest at qt.nokia.com
> >
> > > http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> >
> > >
> >
> > >
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110819/2b63b513/attachment.html 


More information about the Qt-interest-old mailing list