Aggregated

QTestLib, now with nice graphs pointing upwards

Published Friday December 5th, 2008 | 3 Comments on QTestLib, now with nice graphs pointing upwards
Posted in Aggregated, Qt, Test

One of the focus areas for 4.5 is performance. To that end, we decided to add a couple of benchmarking extentions to our beloved QTestLib. There is exactly one new API, the QBENCHMARK macro: QString str1 = “foo”; QString str2 = “foo”; QBENCHMARK { str1.localeAwareCompare(str2); } (Full example is available at $QTDIR/examples/qtestlib/tutorial5.) Under the hood, […]

Read More

XML to QObjects: QXmlToQObjectCreator

Published Thursday October 23rd, 2008 | Comments Off on XML to QObjects: QXmlToQObjectCreator
Posted in Aggregated, Qt

Thank you, to all who attended Dev Days 2008 in Munich. For me it was really great to talk to so many users and hear about all the baffling projects that people pull off with Qt. And of course, to hear how people use and what people need, in terms of Qt’s XML support. One […]

Read More

XSL-T and Qt

Published Wednesday September 10th, 2008 | Comments Off on XSL-T and Qt
Posted in Aggregated, Qt

A couple of weeks ago, I merged the development branch for XSL-T into our main line, heading for Qt 4.5. The idea is that Qt will carry an XSL-T 2.0 implementation with as usual being cross-platform, having solid documentation, and easy of use. Using it is should straightforward. Either on the command line: xmlpatterns yourStylesheet.xsl […]

Read More

About the Nokia acquisition

Published Wednesday January 30th, 2008 | 18 Comments on About the Nokia acquisition
Posted in Aggregated, Contributors, Qt

The news about Nokia’s intentions to acquire Trolltech is very exciting and sobering at the same time. I would characterize my own opinions and thoughts as “cautiously optimistic.” As Trolls, we are still digesting the idea, discussing it amongst ourselves, and processing the incoming information from our own management team as well as the information […]

Read More

QIODevice and QXmlQuery

Published Tuesday December 11th, 2007 | Comments Off on QIODevice and QXmlQuery
Posted in Aggregated, Uncategorized

I have not yet seen an API for XQuery in which integrating the data model, atomic values, nodes and all, into the interfacing language has been a walk in the park. At the top of the list of things people tend to ask on the forums around is “How do I get XML represented as […]

Read More

Query Your Toaster

Published Thursday November 15th, 2007 | Comments Off on Query Your Toaster
Posted in Aggregated, Patternist, Qt

People have asked for Qt’s XQuery & XPath support to not be locked to a particular tree backend such as QDom, but to be able to work on arbitrary backends. Any decent implementation(such as XQilla or Saxon) provide that nowadays in someway or another, but I’d say Patternist’s approach is novice, with its own share […]

Read More

Integrating Compiler Messages

Published Tuesday October 23rd, 2007 | Comments Off on Integrating Compiler Messages
Posted in Aggregated, Patternist, Qt

Attention to details is ok, but compiler messages has historically not received it. Here’s an example of GCC’s output: qt/src/xml/query/expr/qcastingplatform.cpp: In member function ‘bool CastingPlatform::prepareCasting(): qt/src/xml/query/expr/qcastas.cpp:117: instantiated from here qt/src/xml/query/expr/qcastingplatform.cpp:85: error: no matching function for call to ‘locateCaster(int)’ qt/src/xml/query/expr/qcastingplatform.cpp:93: note: candidates are: locateCaster(const bool&) Typically compiler messages have been subject to crude printf approaches and […]

Read More

XPath & XQuery in Qt

Published Tuesday September 18th, 2007 | Comments Off on XPath & XQuery in Qt
Posted in Aggregated, Patternist, Qt

The Qt snapshots now includes support for XPath 2.0 and XQuery 1.0. Being part of the XML library, the idea is that Qt 4.4 will ship with a C++ API for running and evaluating such queries. On the side too, is a command line tool called patternist, for quickly testing queries, scripting and old-school web […]

Read More
Get started today with Qt Download now