[Libreoffice-commits] dev-tools.git: prettyprint/formatxml.cpp
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 4 08:20:09 UTC 2021
prettyprint/formatxml.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4963a9d781c5d409beaace643b17de8218f47faf
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Aug 4 10:19:21 2021 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Aug 4 10:19:50 2021 +0200
prettyprint/formatxml: get this to work with qt5
diff --git a/prettyprint/formatxml.cpp b/prettyprint/formatxml.cpp
index 4bf2546..81d86ed 100644
--- a/prettyprint/formatxml.cpp
+++ b/prettyprint/formatxml.cpp
@@ -32,8 +32,8 @@ tries not to, complain if there's a problem).
If there are problems with the XML, there is also a comment inserted in the output
file that warns about it (so that the problem is easy to spot).
-To compile (libQtCore from Qt4 is required, $QTDIR is the location, usually /usr):
-g++ -Wall -I$QTDIR/include/QtCore -I$QTDIR/include formatxml.cpp -lQtCore -L$QTDIR/lib -o formatxml
+To compile (libQt5Core from Qt5 is required, $QTDIR is the location, usually /usr):
+g++ -Wall -I$QTDIR/include/qt5/QtCore -I$QTDIR/include/qt5 formatxml.cpp -lQt5Core -L$QTDIR/lib -o formatxml
The given file is written to stdout if it's redirected, otherwise it's written
to file with .format.xml appended.
More information about the Libreoffice-commits
mailing list