Dimitri Frederickx wrote:
Damn, no luck in compiling Qt Jambi. First I compiled Qt 4.4 without a problem, after the compilation I started ant for Qt Jambi.

Hi, Dimitri.

This compile error is due to some last minute API changes made in the XML patterns module in Qt.

I've attached a patch which you should be able to apply to the Qt Jambi source to resolve the issue.

-- Eskil


==== com/trolltech/examples/xmlpatterns/XMLQuery.java#2 (text) ====

@@ -76,7 +76,7 @@
         if (query.isValid()) {
 
             QXmlResultItems result = new QXmlResultItems();
-            query.evaluateToResult(result);
+            query.evaluateTo(result);
 
             QXmlItem item = result.next();
             while (!item.isNull()) {

==== generator/typesystem_xmlpatterns-common.xml#2 (text) ====

@@ -109,9 +109,9 @@
 
   <value-type name="QXmlSerializerPointer"/>
 
-  <rejection class="QXmlQuery" function-name="evaluateToReceiver" />
   <object-type name="QXmlQuery">
-    <modify-function 
signature="evaluateToStringList(QStringList&lt;QString&gt;*)const" remove="all" 
/>
+    <modify-function signature="evaluateTo(QAbstractXmlReceiver *)const" 
remove="all" />
+    <modify-function signature="evaluateTo(QStringList&lt;QString&gt;*)const" 
remove="all" />
     <modify-function signature="setMessageHandler(QAbstractMessageHandler*)">
       <modify-argument index="1">
        <reference-count action="set" variable-name="__rcMessageHandler" />
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to