Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2008
Patternist


Message 1 in thread

I have successfully compiled Qt 4.4.0 beta with "-xmlpatterns" and installed 
it on my Kubuntu 6.06 computer.

Where do I find the patternist tool mentioned in the xmlpatterns examples  
README?

<installDir>/examples/xmlpatterns/README

"Running XQuery queryies and XPath expressions are done using Patternist,
through the QtXmlPatterns module."

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

On Tuesday 04 March 2008 14:40:36 Jeffrey Brendecke wrote:
> I have successfully compiled Qt 4.4.0 beta with "-xmlpatterns" and
> installed it on my Kubuntu 6.06 computer.
>
> Where do I find the patternist tool mentioned in the xmlpatterns examples
> README?

The tool was renamed to "xmlpatterns" to be consistent with the module name, 
although updates to the documentation didn't make it to the beta.

So, the tool xmlpatterns should be in your path, just like moc and designer, 
for instance.


Regards,

		Frans

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 3 in thread

Thanks for your response.

I cannot find any application named "xmlpatterns" either.

The xmlpatterns example did compile, however.

This is the contents of <qtInstallPath>/bin :

assistant
assistant_adp
assistant_adp.debug
assistant.debug
designer
designer.debug
linguist
linguist.debug
lrelease
lrelease.debug
lupdate
lupdate.debug
moc
moc.debug
pixeltool
pixeltool.debug
qcollectiongenerator
qcollectiongenerator.debug
qhelpconverter
qhelpconverter.debug
qhelpgenerator
qhelpgenerator.debug
qmake
qt3to4
qt3to4.debug
qtdemo
qtdemo.debug
rcc
rcc.debug
uic
uic.debug

I took a look in the install log made from the combined output of stdout and 
stderr while running "make install" and found no mention of such a file.

Could the problem be something else?


===================================
Datum: Dienstag, 4. März 2008 14:43
Von: Frans Englich <fenglich@xxxxxxxxxxxxx>
An: qt4-preview-feedback@xxxxxxxxxxxxx, jwbrendecke@xxxxxxxxxxxx
Kopiert An: 
Betr.: Re: Patternist
-----------------------------------

> On Tuesday 04 March 2008 14:40:36 Jeffrey Brendecke wrote:
> > I have successfully compiled Qt 4.4.0 beta with "-xmlpatterns" and
> > installed it on my Kubuntu 6.06 computer.
> >
> > Where do I find the patternist tool mentioned in the xmlpatterns examples
> > README?
>
> The tool was renamed to "xmlpatterns" to be consistent with the module
> name, although updates to the documentation didn't make it to the beta.
>
> So, the tool xmlpatterns should be in your path, just like moc and
> designer, for instance.
>
>
> Regards,
>
> 		Frans

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 4 in thread

On Tuesday 04 March 2008 15:26:37 Jeffrey Brendecke wrote:
> Thanks for your response.
>
> I cannot find any application named "xmlpatterns" either.

I can now confirm your problem, it's a bug in the build system. The utility 
simply isn't installed.

I see three possible workarounds:

* Apply the attached patch to your source tree and rerun `make install`
* Ensure <Qt source directory>/bin is in your path
* Use the next snapshot of Qt

Thanks for bringing this up!


Cheers,

		Frans
==== //depot/qt/4.4/tools/xmlpatterns/xmlpatterns.pro#3 - /home/fenglich/dev/qt-4.4/tools/xmlpatterns/xmlpatterns.pro ====
==== //depot/qt/4.4/tools/xmlpatterns/xmlpatterns.pro#3 - /home/fenglich/dev/qt-4.4/tools/xmlpatterns/xmlpatterns.pro ====
--- /tmp/tmp.31244.39	2008-03-04 16:28:21.000000000 +0100
+++ /home/fenglich/dev/qt-4.4/tools/xmlpatterns/xmlpatterns.pro	2008-03-04 16:25:44.000000000 +0100
@@ -4,6 +4,9 @@
 QT -= gui
 QT += xmlpatterns
 
+target.path = $$[QT_INSTALL_BINS]
+INSTALLS += target
+
 # This ensures we get stderr and stdout on Windows.
 CONFIG += console
 

Message 5 in thread

On Tuesday 04 March 2008 16:31:05 Frans Englich wrote:
> * Apply the attached patch to your source tree and rerun `make install`
> * Ensure <Qt source directory>/bin is in your path
> * Use the next snapshot of Qt

 * copy the tool manually now

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.