protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] qt2.x and qmemarray


From: Martin Herren
Subject: Re: [Protux-devel] qt2.x and qmemarray
Date: Wed, 08 Jan 2003 16:47:07 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1

tapio laxström wrote:

I just checked out the latest cvs version and realized that protux can no loger be compiled with qt 2.3 because ProjectManager uses qmemarray.h which was introdused in qt 3.0.

Is this the point when I have to upgrade my qt :)

Ooops, that's my fault. i introduced the QMemArray... i can remove it and replace it with a char* if it is necessary to keep compatibility with QT 2.3. Just wanted to be more QTish when using this class ;-) It's also that i didn't have to type the malloc() and free() code, which saved me at least a few character of typing... it would also be possible to use an alloca() to be faster and to save a free(), but that's not too portable for what i know... I'm in the lab now, but i can change it by accessing my box at home over ssh, but i won't be able to check it beside to test if it compiles... or i can do it tonight. (and we're still using QT 2.2 ! in the lab, unfortunately on win32 :-( )

/Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]