Re: [Interest] deprecating class methods gracefully

2016-11-06 Thread Thiago Macieira
On segunda-feira, 7 de novembro de 2016 01:10:48 CST René J.V. Bertin wrote: > Yes, but does that more than just print a warning? What I'm trying to do is > phase out use of this method, but as long as I simply declare the thing > deprecated software will continue to use it instead of the parent me

Re: [Interest] deprecating class methods gracefully

2016-11-06 Thread René J . V . Bertin
On Sunday November 06 2016 23:21:23 Allan Sandfeld Jensen wrote: Hi, > If it is just a static method, you can just move the whole thing to a > separate > cpp file. It doesn't need to be declared with the rest of the class. So that file would in fact redeclare the class, containing only the st

[Interest] Is it possible to have video files bundled as an app resource and have them played by Qml?

2016-11-06 Thread Nuno Santos
Hi, I was trying to make a Qt mobile app to reproduce a video but I couldn’t add the video as a resource to be used by qml. The resource compiler failed with an error related with file size and I wasn’t even able to reproduce it. Is is possible to add big video files as a resource without bein

Re: [Interest] deprecating class methods gracefully

2016-11-06 Thread Allan Sandfeld Jensen
On Sunday 06 November 2016, René J.V. Bertin wrote: > Hi, > > This isn't essentially a Qt-specific question, but one about a situation I > hope Qt may have found an elegant solution for. > > Say I have a class (B) that at first I thought would need a (static) method > with a mode argument with a

Re: [Interest] Qt3D ObjectPicker return wrong worldIntersection coords

2016-11-06 Thread Oleg Evseev
Hi, I think first thing you should do - create a new bug report https://bugreports.qt.io/ and attache example that reproduce the problem. -- With regards, Oleg 2016-11-06 22:27 GMT+03:00 MASTER OF ORION : > Hi, i use Qt3D 2.0 (from Qt 5.8 beta) > Inside onPressed, when i get PickEvent, worldInte

[Interest] Qt3D ObjectPicker return wrong worldIntersection coords

2016-11-06 Thread MASTER OF ORION
Hi, i use Qt3D 2.0 (from Qt 5.8 beta) Inside onPressed, when i get PickEvent, worldIntersection and localIntersection is incorrect! I press my mouse and get one coords, but if i will turn my camera around orbit and will press to same 3D point at object, i will get other worlds coords... How to solv

[Interest] deprecating class methods gracefully

2016-11-06 Thread René J . V . Bertin
Hi, This isn't essentially a Qt-specific question, but one about a situation I hope Qt may have found an elegant solution for. Say I have a class (B) that at first I thought would need a (static) method with a mode argument with a default setting. That method is declared inline but that should