[Qt-interest] Suggestions for future Qt versions

Constantin Makshin dinosaur-rus at users.sourceforge.net
Fri Apr 24 02:12:41 CEST 2009


Hi!

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".

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. But removing as much redundancy as  
possible may significantly reduce QWebKit's size and, probably, even  
increase its performance (less data conversions due to better components  
integration, better cache efficiency and memory consumpsion due to less  
code/data duplication, etc.). And while on desktop computers size and  
speed aren't very important, on embedded systems they are.

-------------
#1 is easy to implement, so I hope to see it available in the nearest  
future.

#2 is much harder, but it'd be nice if it was done sometime.

But still thanks for this great toolkit!

-- 
Constantin "Dinosaur" Makshin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib.diff
Type: application/octet-stream
Size: 5322 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090424/59972e03/attachment.obj 


More information about the Qt-interest-old mailing list