[Qt-interest] Suggestions for future Qt versions

Andreas Pakulat apaku at gmx.de
Fri Apr 24 08:41:43 CEST 2009


On 24.04.09 04:12:41, Constantin Makshin wrote:

First: You're sending this to the wrong address, use the form on the
developer page on www.qtsoftware.com.

> Suggestion #1
> -------------
> Currently on *nix platforms Qt can use zlib version present in the system 
> ("-system-zlib" configuration option), but on Windows it can't because  
> project files don't contain respective settings. Since this is not very  
> convenient to use 2 versions of the same library (one is built into 
> QtCore library and another is in separate DLL), I decided to update Qt 
> project files appropriately.
>
> Diff file made against Qt 4.5.1 sources is attached to this message:
> 1) only Visual C++ compiler is supported;
> 2) it's assumed that zlib import library has the default name "zlib1.lib".

I think the reason is that only few people have zlib installed on
windows, even if they write software.

> Suggestion #2
> -------------
> Both Qt and WebKit have their own implementations of XML, SQLite and SVG. 
> WebKit's JavaScriptCore module also contains PCRE library, which is more  
> or less compatible with Qt's regular expressions. IMHO, such 
> functionality duplication is redundant, so I think it'd be nice to change 
> QWebKit so it'll use functions provided by Qt (QtXml, QtSql and QtSvg 
> modules and QRegExp class).
>
> I know that WebKit is developed by several companies and it's very hard 
> to implement what I'm talking about.

Its probably impossible, it would be a complete fork of WebKit, which
QtSoftware would have to maintain itself. This would also mean that
changes that are being done to WebKit might need manual merging into
Qt's fork. Thats not a very viable option.

It could in theory be possible to do it the other way around, i.e.
expose PCRE, XML and SVG from WebKit and use that in the Qt modules.
However this would first need someone to go through the relevant code
and make sure both implementations are 100% behavioural compatible.
(Which I doubt they are)

Andreas

-- 
You are sick, twisted and perverted.  I like that in a person.



More information about the Qt-interest-old mailing list