Re: [Interest] Qt5 alpha on windows

2012-08-18 Thread Thiago Macieira
On sábado, 18 de agosto de 2012 10.19.02, Ramakanthreddy_Kesireddy wrote: Could you pleasse let me know where can I find latest Qt5 release as I could see only alpha There is no newer release. You need to build from the Git repository. -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: [Interest] Qt5 alpha on windows

2012-08-18 Thread Ramakanthreddy_Kesireddy
After cloning qt5 from repository using Qt on windows , if I try to get the submodules of Qt5, am getting below error: $ perl init-repository GetOptionsFromArray is not exported by the Getopt::Long module Can't continue after import errors at init-repository line 210 BEGIN failed--compilation

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-18 Thread Alan Ezust
On Thu, Aug 16, 2012 at 2:54 AM, Mark Summerfield l...@qtrac.plus.com wrote: Hi, I hope that Digia proves to be a good steward of Qt---for Qt/Desktop users as well as for Qt/Mobile users! Here are some of the things I'd like to see in a future Qt.* - A full C++ API for all the things that

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-18 Thread Richard Moore
On 18 August 2012 16:32, Alan Ezust alan.ez...@gmail.com wrote: On Thu, Aug 16, 2012 at 2:54 AM, Mark Summerfield l...@qtrac.plus.com wrote: - One or more official language bindings using the introspection API, e.g., for Python and for Java. Qt's Javascript would be much more useful if

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-18 Thread Till Oliver Knoll
Am 18.08.2012 um 18:18 schrieb Till Oliver Knoll till.oliver.kn...@gmail.com: ... However zlib does /not/ support ZIP files, ... http://www.zlib.net/zlib_faq.html#faq11 Cheers, Oliver ___ Interest mailing list Interest@qt-project.org

[Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread K. Frank
Hello List! I see the following code snippet in some Qt documentation: QGraphicsScene scene; scene.addText(Hello, world!); QGraphicsView view(scene); view.show(); (From http://doc.qt.nokia.com/4.7-snapshot/qgraphicsview.html) Both scene and view are automatic variables. If this

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Sean Harmer
Hi K Frank, On Saturday 18 August 2012 12:38:43 K. Frank wrote: Hello List! I see the following code snippet in some Qt documentation: QGraphicsScene scene; scene.addText(Hello, world!); QGraphicsView view(scene); view.show(); (From

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread K. Frank
Hi Nikos! Thanks for your comments. I do have a follow-up question (below). On Sat, Aug 18, 2012 at 1:05 PM, Nikos Chantziaras rea...@gmail.com wrote: On 18/08/12 19:38, K. Frank wrote: Hello List! I see the following code snippet in some Qt documentation: QGraphicsScene scene;

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Nikos Chantziaras
On 18/08/12 20:46, K. Frank wrote: [...] This does raise one c++ / Qt question for me: When an automatic variable goes out of scope, its destructor is called (and, at some point, the stack is popped, but not by the destructor nor by any explicit user code). When a heap variable is deleted,

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Nikos Chantziaras
On 18/08/12 23:21, André Pönitz wrote: On Sat, Aug 18, 2012 at 09:29:53PM +0300, Nikos Chantziaras wrote: [...] On a similar note, don't delete QObject instances manually. Call their deleteLater() member function instead. There are only rare cases where deleteLater is needed. Otherwise,

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Scott Aron Bloom
IIRC the list is stored in the event list, and it will go over each one.. Its not terribly expensive but isn't free either. The only time I every call deleteLater is when I have to delete something, AND the function I am in, is in the middle of the event loop, AND the object will be used

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-18 Thread Pau Garcia i Quiles
On Sat, Aug 18, 2012 at 5:44 PM, Richard Moore r...@kde.org wrote: Qt's Javascript would be much more useful if wrappers for all the Qt classes were already in it. It is so much more enjoyable to code in PyQt using the Qt classes I already know and love from C++. I think it should be possible

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread K. Frank
Hello Nikos! On Sat, Aug 18, 2012 at 2:29 PM, Nikos Chantziaras rea...@gmail.com wrote: On 18/08/12 20:46, K. Frank wrote: [...] This does raise one c++ / Qt question for me: When an automatic variable goes out of scope, its destructor is called (and, at some point, the stack is popped, but

Re: [Interest] Qt5 alpha on windows

2012-08-18 Thread 程梁
You should install GetOpt::Long for perl. Download of perl.org suggests two implementations for Windows, one is Strawberry Perl and the other is ActiveState Perl. I installed the first one and I must download GetOps::Long myself. But the second needn't because it will install some modules for you.