lbellonda / qxmledit Goto Github PK
View Code? Open in Web Editor NEWQXmlEdit XML editor. Downloads: https://sourceforge.net/projects/qxmledit/files
Home Page: http://qxmledit.org
License: Other
QXmlEdit XML editor. Downloads: https://sourceforge.net/projects/qxmledit/files
Home Page: http://qxmledit.org
License: Other
QXmlEdit -------- QXmlEdit is a simple XML editor based on qt libraries. Its main features are unusual data visualization modes, nice XML manipulation and presentation and it is multi platform. It can split very big XML files into fragments, and compare XML files. It is one of the few graphical Open Source XSD viewers. The XML editor widget is based on a library that can be imported and used in other applications. It is relased under GNU LGPL V2 license and requires Open Source edition of the Qt4 or Qt5 libraries. * Hierarchical customizable view of XML elements. * Fast XML hierarchy navigation. * Split of big XML files. * Search supporting XPath expressions. * Base 64 data handling. * Visualization styles. * XML Schema (XSD) viewer. * Columnar view. * Sessions handling. * Graphical XML file view. * Map view of a XML document. * Split and fragment extraction of big XML files. * Visual compare of XML Schema files. * Visual compare of XML files. * XML Snippets. * XSL specialized mode. * Element display via user customizable rules. * SCXML edit mode. Some icon files are licensed by oxygen project and covered by LGPL V3 (see http://www.oxygen-icons.org) A copy of the license is included. Source for icons can be obtained from site above, but a copy is included in images/svg source directory. All icons in this directory are by oxygen project. Images in 'images' directory are derived by oxygen, excluding mainIcons.icns, icon.png and icon.svg that are original work. QXmlEdit can be linked with QwtPlot3D library. Site and source code -------------------- The project site is: qxmledit.org The source code link is currently: https://github.com/lbellonda/qxmledit Discussion group: ----------------- http://groups.google.com/group/qxmledit-discuss Release tarballs and binary packages: ------------------------------------- https://sourceforge.net/projects/qxmledit/files Requirements ------------ Qt libraries version 4.7.3 or higher are required. Qt 5 is supported. OpenGL can be required depending on a compile time switch. Limitations ----------- Very limited support of DTD. License and notes on QwtPlot3D ------------------------------ QXmlEdit is released under LGPL V2, includes Oxygen icons and optionally can link with QwtPlot3D library. QwtPlot3D is not part of QXmlEdit and its source is included for convenience when compiling. QwtPlot3D comes with its own license (ZLib like) as specified in its files. You are free to link or not with QwtPlot3D by enabling a compile time switch as defined in the INSTALL file or to replace it. QwtPlot3D requires OpenGL. As a special exception, the copyright holders of QXmlEdit give you permission to combine QXmlEdit with free software programs or libraries that are released under the GNU LGPL and with code included in the standard release of QwtPlot3D (under the ZLib like license) or modified versions of such code, with unchanged license. You may copy and distribute such a system following the terms of the GNU LGPL for QXmlEdit and the licenses of the other code concerned. People who make modified versions of QXmlEdit are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The GNU Library General Public License gives permission to release a modified version without this exception; this exception also makes it possible to release a modified version which carries forward this exception.
Hi I tried to make the binary and had this issues during compilation, full
output as attachment. Using Qt 4.7.4
utils.cpp: In static member function ‘static void Utils::error(QWidget*,
const QString&)’:
utils.cpp:43:39: error: format not a string literal and no format arguments
[-Werror=format-security]
utils.cpp: In static member function ‘static void Utils::warning(QWidget*,
const QString&)’:
utils.cpp:57:39: error: format not a string literal and no format arguments
[-Werror=format-security]
cc1plus: some warnings being treated as errors
make[1]: *** [../build/lib/obj/utils.o] Error 1
make[1]: Leaving directory `/home/guest/tmp/qxmledit-0.8.2/src'
make: *** [sub-src-QXmlEditWidget-pro-make_default-ordered] Error 2
Original issue reported on code.google.com by [email protected]
on 31 Jul 2012 at 12:55
Attachments:
What steps will reproduce the problem?
1. Try to download 0.4.2 source tarball
2. Notice it missing
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 4:30
What steps will reproduce the problem?
1. Open consiguration dialog
2. Choose an option for style files location
3. Press "Open Localtion in Browser" button
The selected directory does not appear on Windows and OS/2 systems.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2010 at 8:19
Not really a bug in the excellent software, rather in its distribution.
Note the file name sequence
qxmledit-0.5.1-sources.tgz
qxmledit-0.5.0-src.tgz
QXmlEdit-0.4.9.1-sources.tgz
QXmlEdit-0.4.9-sources.tgz
qxmledit-0.4.8.src.tgz
qxmledit-src-0.4.7.tgz
Since there is no established structure, it is almost impossible to use debian
watch files.
Original issue reported on code.google.com by [email protected]
on 25 Sep 2011 at 10:02
I get compilation error in openSUSE Factory / Tumbleweed.
g++ -c -include ../build/lib/obj/QXmlEditWidget-0.9.4 -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g -Wall -Werror -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DLIBQXMLEDIT_LIBRARY -DUNIX_RESOURCES -DUNIX_RESOURCE_PATH=/usr/share/qxmledit/ -DUNIX_DOC_PATH=/usr/share/doc/packages/qxmledit/ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iglobals/includes -I./globals/framework -Iglobals/includes -Iframework/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I../build/lib/moc -I../build/lib/ui -I/usr/lib64/qt5/mkspecs/linux-g++ -o ../build/lib/obj/edittextnode.o edittextnode.cpp
elementitemdelegate.cpp: In member function 'virtual void ElementItemDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const':
elementitemdelegate.cpp:51:46: error: 'QStyleOptionViewItemV4' is deprecated [-Werror=deprecated-declarations]
QStyleOptionViewItemV4 option4(option);
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:44:0,
from /usr/include/qt5/QtWidgets/qabstractitemview.h:46,
from /usr/include/qt5/QtWidgets/qheaderview.h:43,
from /usr/include/qt5/QtWidgets/QHeaderView:1,
from globals/includes/qtincludes.h:37,
from globals/includes/xmlEdit.h:55,
from precompiled_lib.h:27:
/usr/include/qt5/QtWidgets/qstyleoption.h:441:48: note: declared here
typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4;
^~~~~~~~~~~~~~~~~~~~~~
The full build log: https://build.opensuse.org/build/openSUSE:Factory/standard/x86_64/qxmledit/_log
Thanks.
While starting the program on some Windows XP Systems, in the Welcome Panel the
SVG icons are completly gray.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 6:41
When editing an element, QXMLEdit shows a window where the top part enables
operation on text nodes, while the bottom one enables operation on attributes.
This bottom part includes two "up" and "down" buttons meant to change the
attribute sorting.
Indeed, using the buttons changes the attribute sorting. However, the new
attribute sorting does not get saved when the XML file is saved.
Furthermore, if you alter the attribute sorting with and editor and then you
start the QXMLEditor on the file, you quickly see that the order in which
attributes are sorted in QXMLEdit is different from that in the XML file.
Original issue reported on code.google.com by [email protected]
on 25 Sep 2011 at 9:58
What steps will reproduce the problem?
1.Open 'File' menu and trigger 'New'
2.Insert some elements
At this time the 'Save as' menu should be enabled.
The functionality was working before the refactoring done in the 0.7.0 version.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2012 at 6:56
What steps will reproduce the problem?
There are some errors when building qxmledit 0.8.5 with vs2010 win64
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
qxmledit 0.8.5 on Windows 7
Please provide any additional information below.
The attached file contains all the patchs
Original issue reported on code.google.com by [email protected]
on 22 Apr 2013 at 12:42
Attachments:
Hello! First of all, thanks for a great app!
It would be great if you add a 'View' > 'Close All'
function (preferably with a hotkey) which will fold/collapse all nodes in the xml document (as opposed to the View > Expanl All
). Sometimes it is easier to inspect xml document from the root. In such cases you prefer to keep the current view clear and refined as much as it is possible. So you have to perform two actions at each level/step: 1 - expand next node, 2 - close all siblings with a F12.
If we had the 'Close all' function, we would need to call it only once at the beginning, and then just expand a next node while going deeper through the document.
Thanks!
What steps will reproduce the problem?
1. Start QXmlEdit
2. Show the toolbar (if not visible)
3. Hover mouse over third Navigation button until the tooltip appears.
What is the expected output? What do you see instead?
The tooltip should show "Go to Next Brother", instead it shows "Go to Previous
Brother" (same as for the second Navigation button).
What version of the product are you using? On what operating system?
0.8.3.1
Please provide any additional information below.
The buttons function correctly; it's just the third button tooltip. The
corresponding menu items are correctly labelled.
Original issue reported on code.google.com by [email protected]
on 25 Jan 2013 at 7:01
To reproduce:
Insert a child in an element.
Select it.
Activate "Append" button in the main window.
Edit the new element and save it.
The program tries to insert a new root element instead of placing the item at
the correct location and stops given that there is a check on the existence of
a single root element.
Workaround: use the "insert" feature.
Original issue reported on code.google.com by [email protected]
on 25 Dec 2011 at 3:00
What steps will reproduce the problem?
1. Open an XML file
2. Create an attribute with a space in its name (QXmlEdit happily accepts it)
3. Save the XML file
4. Try to reopen the file
5. See QXmlEdit complain that it is uncapable to open the file because it is
invalid
What is the expected output? What do you see instead?
QXmlEdit should refuse to add attributes with invalid names.
QXmlEdit does not complain and then saves a file that cannot be re-opened any
more.
What version of the product are you using? On what operating system?
0.4.9 on linux.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Sep 2010 at 5:57
Version: 0.5.3
Due a last minute macro rename, the test subproject no more compile.
As workaround in the file test/testsplit.cpp: at 166:17: "NUMBER_TOKEN_PTRN"
should be changed to "COUNTER_TOKEN_PTRN".
The main subproject compile without problems.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2011 at 6:46
The Free Software Foundation address in COPYING is outdated.
Please replace the file with
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Original issue reported on code.google.com by [email protected]
on 6 Sep 2011 at 8:12
Can't compile QXmlEdit 0.4.8 in
openSUSE 11.1 and in openSUSE 11.2.
mainwindow.cpp: In member function 'void
MainWindow::on_actionValidate_triggered()':
mainwindow.cpp:1700: error: 'QXmlSchema' was not declared in this scope
mainwindow.cpp:1700: error: expected `;' before 'schemaHandler'
mainwindow.cpp:1702: error: 'schemaHandler' was not declared in this scope
mainwindow.cpp:1703: error: 'QXmlSchemaValidator' was not declared in this scope
Is there ability to disable Qt 4.6 features automatically, based on Qt build
environment?
The fact is openSUSE 11.1 provides Qt 4.4.3 and openSUSE 11.2 provides Qt 4.5.3
in system repositories.
Thanks.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 10:10
Having an Issue starting QXmlEdit on Mac OSX High Sierra. Any help would be greatly appreciated. --TIm
/opt/qxmledit/QXmlEdit.app/Contents/MacOS/QXmlEdit
dyld: Library not loaded: libQXmlEditWidget.1.dylib
Referenced from: /opt/qxmledit/QXmlEdit.app/Contents/MacOS/QXmlEdit
Reason: image not found
Abort trap: 6
Process: QXmlEdit [86544]
Path: /opt/qxmledit/QXmlEdit.app/Contents/MacOS/QXmlEdit
Identifier: QXmlEdit
Version: 0.9.9 (0)
Code Type: X86-64 (Native)
Parent Process: bash [83802]
Responsible: QXmlEdit [86544]
User ID: 504
Date/Time: 2018-05-01 21:25:05.910 -0600
OS Version: Mac OS X 10.13.4 (17E199)
Report Version: 12
Anonymous UUID: 6A433774-CCF1-B02C-7264-C3ADCB2B8090
Sleep/Wake UUID: 11A03EA9-9D48-4CC4-B4E1-5053C0D0EA18
Time Awake Since Boot: 150000 seconds
Time Since Wake: 2300 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib:
Dyld Error Message:
Library not loaded: libQXmlEditWidget.1.dylib
Referenced from: /opt/qxmledit/QXmlEdit.app/Contents/MacOS/QXmlEdit
Reason: image not found
Binary Images:
0x10d84b000 - 0x10da03fff +qxmledit.QXmlEdit (0.9.9 - 0) /opt/qxmledit/QXmlEdit.app/Contents/MacOS/QXmlEdit
0x10e7c6000 - 0x10e8109df dyld (551.3) /usr/lib/dyld
Model: MacBookPro12,1, BootROM MBP121.0175.B00, 2 processors, Intel Core i5, 2.7 GHz, 16 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (X.XX.XX.XX.XXX)
Bluetooth: Version 6.0.5f3, 3 services, 27 devices, 1 incoming serial ports
Network Service: USB 10/100/1000 LAN, Ethernet, en4
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
USB Device: Bluetooth USB Host Controller
USB Device: Microsoft® 2.4GHz Transceiver v8.0
USB Device: USB2.0 Hub
USB Device: USB Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Hi @lbellonda !
I wanted to let you know that I have started work on a Snap package for QXmlEdit. This should make it easier for people on many Linux distros to install, as it packages all the needed libraries. You will not find it in the store but it is available to test. See the installation instructions on the QXmlEdit Snap project page.
I am new to QXmlEdit as just started using it for a project at work. If you could test out the Snap Package and see if you find any issues that would be appreciated. I have two issues in the Issue Queue for the QXmlEdit Snap project.
I would appreciate any help you can give me on issue #2, regarding the non-working "User Manual" button. Should this button open the pdf manual? The pdf manual gets installed in the /opt/qxmledit/ folder with the qxmledit binary. The binary gets moved to /bin in the project. Where is the binary expecting the pdf to be? That way I can move it there in the snap build so QXmlEdit can open it.
As you will see in the check list on the QXmlEdit Snap project page the eventual goal is to get to the point when I submit a pull request to this project and the project can then create an account with the snap store and take over ownership and building of the Snap package.
God Bless!
Frederick
Hi, can you please provide x64 windows builds? Thx
I select xml element and choose "Edit inner XML..." from the context menu. The error message displaying "Data empty. Unable to load." pops out. Using the latest Version 0.9.10
Hi,
My OS is Linux Mint 17.3.
I have downloaded your code and compile it, but the :
OpenGL Utility Toolkit development files (GLUT)
is missing.
I have to install :
freeglut3-dev
To help other, can you add this information to the README file or elsewhere you want.
Thanks for your app ;-)
Regards.
Hi
The test failed for OS/2, i use Qt v4.7.3 and Gcc v4.9.3
I send you the output from the test file.
Totals: 80 passed, 1 failed, 0 skipped
********* Finished testing of TestQXmlEdit *********
If you need more info lemme know...
Hi, I'm new here and have a question
Have an xml with a lot of data.
the objects with a tag somewhere with the text 1 (a height value) can be completely removed
only with the search function I can find the branch but not select the value
select all grandchildren tag (hoogte) with a text value of 1 and mark this object in the root
can you help me?
I'm very sorry to say compilation with Qt < 4.7 doesn't work even with 'qmake
-config use_qt44'.
I don't treat this as a bug, and understand that you don't plan to support
older Qt versions. So install documentation needs some correction.
Original issue reported on code.google.com by [email protected]
on 6 Sep 2011 at 9:04
Windows XP, V 0.8.10
<DATEN>
<NODEXXX>xxx</NODEXXX>
</DATEN>
Select NODEXXX -> Copy element path to clipboard
/DATEN/NODEXXX
Insert the path /DATEN/NODEXXX to the search-dialog (XPath enabled)
Hit Search -> No Results
/NODEXXX works, it seems that you have to remove the first path-entry
Original issue reported on code.google.com by [email protected]
on 25 Apr 2014 at 1:16
What version of the product are you using? On what operating system?
0.7.2
undo redo in edit menu
Original issue reported on code.google.com by [email protected]
on 23 Feb 2012 at 4:28
I run QXmlEdit in openSUSE 11.1 x586. Qt 4.4.3.
Program interface doesn't display correctly.
Font is small in full length lines. Problem with menu and buttons.
Could you help, please? Thanks.
Screenshots attached.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 8:00
Attachments:
Installation path in *.pro files is /opt/qxmledit.
qmake doesn't accept variables.
This is impossible to build packages for distribution.
We need to install QXmlEdit to /usr/bin and all the libraries to /usr/lib
(/usr/lib64 for x86_64).
Original issue reported on code.google.com by [email protected]
on 14 Mar 2012 at 2:07
Implement a visualization that can be used to view only non leafs nodes in a
XML file.
Original issue reported on code.google.com by [email protected]
on 25 Dec 2011 at 3:01
I am using Version 0.8.10 on Windows
Thank you for the coding, here is some user-feedback: some tiny changes would
make it perfect
- evaluate xpathExpression , e.g. count(...) or concat(...)
Great Work
Martin
Original issue reported on code.google.com by [email protected]
on 25 Apr 2014 at 11:45
Dear qxmledit.
In Brief:
After I install from source I can't run QXmlEdit. I've rebooted and I continue to get a command not found error.
When I navigate to /opt/qxmledit I get the following errors
sh QXmlEdit
QXmlEdit: 2: /opt/qxmledit/./QXmlEdit: Syntax error: word unexpected (expecting ")")
./QXmlEdit
./QXmlEdit: error while loading shared libraries: libQXmlEditWidget.so.0: cannot open shared object file: No such file or directory
My system is fairly 'clean' after a recent re-install.
I got a number of errors when running make:
These where solved with the following :
sudo apt-get install ibqt5svg5 libqt5xmlpatterns5 libqt5xmlpatterns5-dev qtxmlpatterns5-dev-tools qtxmlpatterns5-doc qtxmlpatterns5-example
I'll admit I may have gone a little wild on the xml5patterns stuff (the doc and example packages probably aren't required?).
Everything seems to be going fine, but I can't run qxmledit ? I get this error wherever I run it from.
qxmledit
qxmledit: command not found
I noticed in /opt/qxmledit/ there is a QXmlEdit file, which seems to be the executable, but I can't run this either, same error.
I've also tried as 'sudo' but no joy.
I note that there is nothing in /usr/bin or /usr/sbin have I missed something?
I had a look in the /src/QXmlEdt.pro file and I noticed the following stanza
INST_DIR=$$(QXMLEDIT_INST_DIR)
isEmpty(INST_DIR) {
INST_DIR = /opt/qxmledit
}
But I haven't seen anything about where the executable should be, I had a look at the desktop file and it has a simple path link to the executable.
Finaly I did a locate qxmledit, and I returned only details of the download directory, the directory I unzipped the source to, and the /opt/qxmledit directories.
I've clearly missed something.... but don't know what
Any help would be greately appreciated. Thanks
The version number added to the widget library project in the 0.7.0 version is
handled under Linux, but on Windows changes the QXmlEditWidget library name.
Workaround: take out the version from the .pro file
Fix: enable the version only under linux like that:
unix:VERSION = 0.7.0
Original issue reported on code.google.com by [email protected]
on 7 Feb 2012 at 7:42
I have version 0.9.6 on OS X 10.11.6. QXmlEdit crashes hard when I try open XML files with the following top-level tag while "Enable automatic loading of XML Schema associated to file edited" is enabled in the preferences:
<alto
xmlns="http://www.loc.gov/standards/alto/ns-v2#"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/standards/alto/ns-v2# http://www.loc.gov/standards/alto/alto-v2.0.xsd"
>
The crashes do not occur if I try to open different files or when I disable automatic Schema loading.
It finally compiled succesfully and create it on /opt/qxmledit.
However I get another error when I execute
$ /opt/qxmledit/QXmlEdit
/opt/qxmledit/QXmlEdit: error while loading shared libraries:
libQXmlEditSessions.so.0: cannot open shared object file: No such file or
directory
The library is on the same folder /opt/qxmledit and tired doing a softlink on
/usr/lib/ but still same error.
Original issue reported on code.google.com by [email protected]
on 1 Aug 2012 at 10:00
According to freedesktop.org standard there should be 48x48 icon in application
installation.
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#ins
tall_icons
Different sizes are better.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2012 at 8:34
I follow build instructions in INSTALL file. During make I get this error:
`cd src/ && make -f Makefile.QXmlEditWidget
make[1]: Entering directory '/home/delany/Git/qxmledit/src'
g++ -c -include ../build/lib/obj/QXmlEditWidget-0.9.9 -m64 -pipe -Wall -Werror -Wno-unused-local-typedefs -O2 -Wall -W -D_REENTRANT -fPIC -DLIBQXMLEDIT_LIBRARY -DUNIX_RESOURCES -DUNIX_RESOURCE_PATH=/opt/qxmledit -DUNIX_DOC_PATH=/opt/qxmledit -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I. -Iglobals/includes -I./globals/framework -Iglobals/includes -Iframework/include -I../build/lib/moc -I../build/lib/ui -o ../build/lib/obj/qrc_risorse.o ../build/lib/rcc/qrc_risorse.cpp
In file included from /usr/include/qt4/QtCore/qatomic.h:45:0,
from /usr/include/qt4/QtCore/qvariant.h:45,
from /usr/include/qt4/QtCore/QVariant:1,
from globals/includes/qtincludes.h:30,
from globals/includes/xmlEdit.h:77,
from precompiled_lib.h:27:
../build/lib/rcc/qrc_risorse.cpp:31361:44: error: ‘qInitResources_risorse__init_variable__’ defined but not used [-Werror=unused-variable]
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_risorse))
^
/usr/include/qt4/QtCore/qglobal.h:941:21: note: in definition of macro ‘Q_CONSTRUCTOR_FUNCTION0’
static const int AFUNC ## init_variable = AFUNC();
^
../build/lib/rcc/qrc_risorse.cpp:31361:1: note: in expansion of macro ‘Q_CONSTRUCTOR_FUNCTION’
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_risorse))
^
../build/lib/rcc/qrc_risorse.cpp:31361:24: note: in expansion of macro ‘QT_MANGLE_NAMESPACE’
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_risorse))
^
cc1plus: all warnings being treated as errors
Makefile.QXmlEditWidget:10870: recipe for target '../build/lib/obj/qrc_risorse.o' failed
make[1]: *** [../build/lib/obj/qrc_risorse.o] Error 1
make[1]: Leaving directory '/home/delany/Git/qxmledit/src'
Makefile:41: recipe for target 'sub-src-QXmlEditWidget-pro-make_default-ordered' failed
make: *** [sub-src-QXmlEditWidget-pro-make_default-ordered] Error 2
`
Please fix!
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 6:52
Attachments:
I get compilation error in openSUSE Factory.
data_access/sqllitegenericdata.cpp:313:28: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define QRY_READ_TAGS_TYPE "select tr.objectId, t.tag from "TABLE_TAGS_RELATIONS" tr join "TABLE_GENERIC_OBJECTS" o on o.type=:type and o.id=tr.objectId join " TABLE_TAGS " t on t.id=tr.tagId "
^
data_access/sqllitegenericdata.cpp:313:81: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define QRY_READ_TAGS_TYPE "select tr.objectId, t.tag from "TABLE_TAGS_RELATIONS" tr join "TABLE_GENERIC_OBJECTS" o on o.type=:type and o.id=tr.objectId join " TABLE_TAGS " t on t.id=tr.tagId "
^
data_access/sqllitegenericdata.cpp:314:35: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define QRY_READ_TAGS_TYPE_AND_ID "select tr.objectId, t.tag from "TABLE_TAGS_RELATIONS" tr join "TABLE_GENERIC_OBJECTS" o on o.type=:type and o.id=tr.objectId and o.id=:id join " TABLE_TAGS " t on t.id=tr.tagId "
^
data_access/sqllitegenericdata.cpp:314:88: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
#define QRY_READ_TAGS_TYPE_AND_ID "select tr.objectId, t.tag from "TABLE_TAGS_RELATIONS" tr join "TABLE_GENERIC_OBJECTS" o on o.type=:type and o.id=tr.objectId and o.id=:id join " TABLE_TAGS " t on t.id=tr.tagId "
^
This is not a bug report, rather a wish.
When building QXmlEdit, it is hard to customize the install location of some of
its pieces, and specifically of the manual file.
Conversely, this is important to packaging as many distributions have strict
guidelines about what should go where.
The manual of QXmlEdit is a pdf file.
In debian based systems, this should go in /usr/share/doc/qxmledit/
However, the QXmlEdit build system installs it together with all the other
program resources in INST_DATA_DIR.
Would be great to have an INST_DOC_DIR for documentation.
Additionally, there should be something like
DEFINES += DOC_DIR=$$INST_DOC_DIR in the pro file, to assure that the doc dir
information is passed to the program, so that it can find the manual.
Also note that the very name of the HELP_FILE seems to be hardwired in the
sources, when it should probably be passed to the program by another DEFINE.
Just in case they are useful, I am attaching the two patches that I use to
build on debian (these are for 0.6.0). They are ugly and can be very much
improved.
--- Qxmledit-Git.orig/src/QXmlEdit.pro 2011-12-29 01:12:18.524011618 +0100
+++ Qxmledit-Git/src/QXmlEdit.pro 2012-01-01 13:00:28.271169705 +0100
@@ -22,14 +22,15 @@
-# TO CUSTOMIZE INSTALLATION DIRECTORY SET THESE TWO VARIABLES
+# TO CUSTOMIZE INSTALLATION DIRECTORY SET THESE THREE VARIABLES
# Note:
# WITH SOME MORE WORK WE CAN USE VARIABLES PASSED TO MAKE LIKE THAT
# in pro DEFINES += UNIX_RESOURCE_PATH=\"$(QXMLEDIT_DATADIR)\"
# and calling make QXMLEDIT_DATADIR=/usr/share/qxmledit
-INST_DATA_DIR = /opt/qxmledit
-INST_DIR = /opt/qxmledit
+INST_DATA_DIR = /usr/share/qxmledit
+INST_DOC_DIR = /usr/share/doc/qxmledit
+INST_DIR = /usr/bin
TEMPLATE = app
@@ -290,7 +291,7 @@
ICON = images/mainIcon.icns
win32:RC_FILE = win.rc
-styles.path = $$INST_DATA_DIR
+styles.path = $$INST_DATA_DIR/styles
styles.files = data/sample.style
snippets.path = $$INST_DATA_DIR/snippets
snippets.files = data/snippets/{6d11b8d1-e285-46b2-8375-79e17cab9862}.xml \
@@ -300,7 +301,7 @@
data/snippets/{e40792fb-16de-4418-9320-4feaa92c28a3}.xml \
data/snippets/{edc60671-0ae0-401b-989d-5d0b82976bce}.xml \
data/snippets/{f6d7ebdd-c505-4a6a-8a16-f7c99581a995}.xml
-manual.path = $$INST_DATA_DIR
+manual.path = $$INST_DOC_DIR
manual.files = ../doc/QXmlEdit_manual.pdf
# resources are defined in paths.h
--- Qxmledit-Git.orig/src/applicationdata.h 2012-01-05 13:31:18.905365968
+0100
+++ Qxmledit-Git/src/applicationdata.h 2012-01-05 13:34:52.000000000 +0100
@@ -83,6 +83,7 @@
QString snippetsLocalDir();
QString snippetsProgramDir();
static QString getResourceDir();
+ static QString getDocDir();
IQXmlEditPlugIn *xsdPlugin();
--- Qxmledit-Git.orig/src/applicationdata.cpp 2012-01-05 13:31:18.961366246
+0100
+++ Qxmledit-Git/src/applicationdata.cpp 2012-01-05 14:34:05.416043086
+0100
@@ -232,6 +232,26 @@
#endif
}
+QString ApplicationData::getDocDir()
+{
+#ifdef Q_WS_MAC
+ //All the others
+ QString toReturn ;
+ toReturn = QApplication::applicationDirPath() + QDir::separator() + ".." +
QDir::separator() + "SharedSupport" ;
+ return toReturn ;
+#else
+
+#ifdef UNIX_RESOURCES
+ QString toReturn = QString(STRINGIZE(DOC_DIR));
+ return toReturn;
+#else
+ //All the others
+ return QApplication::applicationDirPath();
+#endif
+
+#endif
+}
+
const QMap<QString, IQXmlEditPlugIn*> &ApplicationData::plugins() const
{
return _plugins ;
--- Qxmledit-Git.orig/src/mainwindow.cpp 2012-01-05 13:31:18.933366107
+0100
+++ Qxmledit-Git/src/mainwindow.cpp 2012-01-05 13:34:52.000000000 +0100
@@ -2412,7 +2412,7 @@
void MainWindow::on_actionHelpOnQXmlEdit_triggered()
{
- QString resourceHelp = data->getResourceDir() + "/" + HELP_FILE ;
+ QString resourceHelp = data->getDocDir() + "/" + HELP_FILE ;
QDesktopServices::openUrl(QUrl::fromLocalFile(resourceHelp));
}
--- Qxmledit-Git.orig/src/QXmlEdit.pro 2012-01-05 13:34:52.000000000 +0100
+++ Qxmledit-Git/src/QXmlEdit.pro 2012-01-05 14:29:35.674705508 +0100
@@ -49,7 +49,7 @@
############ CONFIGURATION SENT TO THE PROGRAM ############
# translations folder (inside the resources folder).
DEFINES += TRANLASTION_DIR=translations
-
+DEFINES += DOC_DIR=$$INST_DOC_DIR
HEADERS = mainwindow.h \
regola.h \
Original issue reported on code.google.com by [email protected]
on 5 Jan 2012 at 2:24
I am trying to view https://github.com/NETEx-CEN/NeTEx I would like to go to the schema in the XSD. Would it be possible to step into the next document upon an xsd:include?
What steps will reproduce the problem?
1. Launch QXmlEdit binary
What is the expected output? What do you see instead?
Expected programming running. Discovered program is not compiled to work on
amd64 platform.
What version of the product are you using? On what operating system?
Software version 0.4.5. Ubuntu Karmic Koala, KDE4.4 from PPA, installed
18th February.
Please provide any additional information below.
Attaching working version compiled against current system.
Original issue reported on code.google.com by [email protected]
on 18 Feb 2010 at 11:04
Attachments:
Please add header files to installation.
QXmlEditWidgets library is useless for development without includes.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2012 at 8:44
I build rpm-packages for openSUSE.
Build failed testing compiler warnings:
... testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using /home/kent/rpmbuild/BUILD-osc/openSUSE_Factory-x86_64/.build.log)
I: Program returns random data in a function
E: qxmledit no-return-in-nonvoid-function modules/search/xqueryelementmodel.cpp:148
Compile log:
g++ -c -m64 -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Werror=format-security -Wunused-variable -Wstrict-aliasing -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DLIBQXMLEDIT_LIBRARY -DUNIX_RESOURCES -DUNIX_RESOURCE_PATH=/usr/share/qxmledit -DUNIX_DOC_PATH=/usr/share/doc/packages/qxmledit-doc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I/usr/include/QtSvg -I/usr/include -I. -Iglobals/includes -I../build/lib/moc -I../build/lib/ui -o ../build/lib/obj/xqueryelementmodel.o modules/search/xqueryelementmodel.cpp
In file included from modules/search/xqueryelementmodel.cpp:24:0:
modules/search/xqueryelementmodel.h: In constructor 'XQueryElementModel::XQueryElementModel(Regola*, Element*, QXmlNamePool&)':
modules/search/xqueryelementmodel.h:38:19: warning: 'XQueryElementModel::_namePool' will be initialized after [-Wreorder]
modules/search/xqueryelementmodel.cpp:37:153: warning: base 'QSimpleXmlNodeModel' [-Wreorder]
modules/search/xqueryelementmodel.cpp:37:1: warning: when initialized here [-Wreorder]
modules/search/xqueryelementmodel.cpp: In member function 'virtual QVector<QXmlNodeModelIndex> XQueryElementModel::attributes(const QXmlNodeModelIndex&) const':
modules/search/xqueryelementmodel.cpp:190:239: warning: unused variable 'attribute' [-Wunused-variable]
modules/search/xqueryelementmodel.cpp: In member function 'virtual QXmlNodeModelIndex::NodeKind XQueryElementModel::kind(const QXmlNodeModelIndex&) const':
modules/search/xqueryelementmodel.cpp:148:1: warning: control reaches end of non-void function [-Wreturn-type]
Can you help, please, with a patch or so? Thanks.
Original issue reported on code.google.com by [email protected]
on 5 Jun 2013 at 4:19
Editing inner XML and triggering OK closes the edit window, but the edit items
are discarded.
Original issue reported on code.google.com by [email protected]
on 15 Feb 2012 at 7:42
no matching function for call to ‘QPainter::drawStaticText(int, int, QString)’ painter.drawStaticText(width() / 2, height() / 2, tr("Recalculating..."));
Checking 1 and 2 it seems for qt 5.10 the function needs to be called like this:
QPainter::drawStaticText(int, int, const QStaticText&)
relevant snippet of log :
visualization/datawidget.cpp: In member function ‘virtual void DataWidget::paintEvent(QPaintEvent*)’:
visualization/datawidget.cpp:339:81: error: no matching function for call to ‘QPainter::drawStaticText(int, int, QString)’
painter.drawStaticText(width() / 2, height() / 2, tr("Recalculating..."));
^
In file included from /usr/include/qt/QtGui/qpaintengine.h:47:0,
from /usr/include/qt/QtGui/QtGui:64,
from globals/includes/qtincludes.h:91,
from globals/includes/xmlEdit.h:77,
from precompiled_app.h:27:
/usr/include/qt/QtGui/qpainter.h:409:10: note: candidate: void QPainter::drawStaticText(const QPointF&, const QStaticText&)
void drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText);
^~~~~~~~~~~~~~
/usr/include/qt/QtGui/qpainter.h:409:10: note: candidate expects 2 arguments, 3 provided
/usr/include/qt/QtGui/qpainter.h:865:13: note: candidate: void QPainter::drawStaticText(const QPoint&, const QStaticText&)
inline void QPainter::drawStaticText(const QPoint &p, const QStaticText &staticText)
^~~~~~~~
/usr/include/qt/QtGui/qpainter.h:865:13: note: candidate expects 2 arguments, 3 provided
/usr/include/qt/QtGui/qpainter.h:870:13: note: candidate: void QPainter::drawStaticText(int, int, const QStaticText&)
inline void QPainter::drawStaticText(int x, int y, const QStaticText &staticText)
^~~~~~~~
/usr/include/qt/QtGui/qpainter.h:870:13: note: no known conversion for argument 3 from ‘QString’ to ‘const QStaticText&’
The picture in the left pane of the xsd view (list of types) is not stable when
mouse is moved over it. I attached the video showing the problem. This was
observed in all versions I've been uing (0.6.0 und up to the current 0.8.0). Qt
library version is 4.8.0, system is debian sid.
Original issue reported on code.google.com by [email protected]
on 21 Mar 2012 at 6:59
Attachments:
QXmlEdit should compile and run using qt4 or qt5 with minimal code changes.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2013 at 5:26
'UNIX_DOC_DIR' is incorrect.
Patch:
Index: src/qxmleditdata.cpp
===================================================================
--- src/qxmleditdata.cpp.orig
+++ src/qxmleditdata.cpp
@@ -229,7 +229,7 @@ QString QXmlEditData::getDocsDir()
#else
#ifdef UNIX_RESOURCES
- QString toReturn = QString(STRINGIZE(UNIX_DOC_DIR));
+ QString toReturn = QString(STRINGIZE(UNIX_DOC_PATH));
return toReturn;
#else
//All the others
Original issue reported on code.google.com by [email protected]
on 16 Mar 2012 at 8:28
Arch linux switched from gcc 6.3.1 to gcc 7.1.1 .
qxmledit 0.9.7 build now fails on linux when using gcc 7.1.1 .
build log attached.
The Trojan:Win32/Azden.A!cl is detected by windows defender in the QXmlEditInstaller-0.9.9.exe. It would be good with a better distributor for the binaries than Sourceforge which is not useable anymore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.