Hi all,
my goal is to export a diagram as a svg, but
when building qwt 5.2.0 with qwtsvgitem activated, I get errors (see below).
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GL -W3 -w34100 -w34189 -GR -E
Hsc -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQWT_DLL -DQWT_MAKEDLL -D
QT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I"..\..\4.5\include\QtCore" -I"..\..\4.5\include\QtGui" -I"..\..\
4.5\include\QtXml" -I"..\..\4.5\include\QtSvg" -I"..\..\4.5\include" -I"..\..\4.
5\include\ActiveQt" -I"moc" -I"." -I"..\..\4.5\mkspecs\win32-msvc2005" -Foobj\ @
C:\DOKUME~1\schwarmi\LOKALE~1\Temp\nm9E7.tmp
qwt_plot_svgitem.cpp
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53) : error C
2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'QtSvgModule'
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53) : error C
4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" w
ird von C++ nicht unterstützt.
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53) : error C
4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" w
ird von C++ nicht unterstützt.
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qsvggenerator.h(57) : error C237
8: 'QtSvgModule': Neudefinition; Symbol kann nicht mit typedef überladen werden
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53):
Siehe Deklaration von 'QtSvgModule'
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qsvgrenderer.h(58) : error C2378
: 'QtSvgModule': Neudefinition; Symbol kann nicht mit typedef überladen werden
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53):
Siehe Deklaration von 'QtSvgModule'
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qsvgwidget.h(53) : error C2378:
'QtSvgModule': Neudefinition; Symbol kann nicht mit typedef überladen werden
c:\programme\qt\4.5\include\qtsvg\../../src/svg/qgraphicssvgitem.h(53):
Siehe Deklaration von 'QtSvgModule'
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 8\VC\BIN\cl.EX
E"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
Qt version is 4.5 commercial. Build for Microsoft Visual Studio Compiler 2005 on Win XP.
Projects using the svg-module of Qt (notqwt) didn’t fail at building (I tried with one of those qt examples that use the svg module).
I tried to add CONFIG += xml according to the hint in qwtconfig.pri, but the error remains.
So do you have any suggestions for me?
Kind regards
Michael
Bookmarks