Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.0
-
None
-
-Windows XP
-Qt 4.7
-mingw32 compiler
-configure script args:-static -release -no-exceptions -opensource -fast -no-accessibility -no-stl -no-opengl -no-dsp -no-vcproj -no-phonon -no-dbus -no-multimedia -no-audio-backend -no-webkit -no-script -no-qt3support -no-declarative -nomake examples -nomake demos
-Windows XP -Qt 4.7 -mingw32 compiler -configure script args:-static -release -no-exceptions -opensource -fast -no-accessibility -no-stl -no-opengl -no-dsp -no-vcproj -no-phonon -no-dbus -no-multimedia -no-audio-backend -no-webkit -no-script -no-qt3support -no-declarative -nomake examples -nomake demos
-
edbc656bfa5069dd40f64ae3123d6370c2d86538
Description
Error message displayed "" then trying to build svgviewer
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem
,console -o debug\svgviewer.exe tmp/obj/debug_static/main.o tmp/obj/debug_static/mainwindow.o tmp
/obj/debug_static/svgview.o tmp/obj/debug_static/moc_mainwindow.o tmp/obj/debug_static/moc_svgvie
w.o tmp/obj/debug_static/qrc_svgviewer.o -L"c:\Qt\2010.05\qt\lib" -L"c:\Qt\2010.05\qt\lib" -lQtS
vgd -lQtXmld -lQtGuid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore
d -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
c:\Qt\2010.05\qt\lib/libQtSvgd.a(qsvghandler.o): In function `toDouble':
C:\Qt\2010.05\qt\src\svg/qsvghandler.cpp:642: undefined reference to `imp__Z7qstrtodPKcPS0_Pb'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\svgviewer.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/2010.05/qt/examples/painting/svgviewer'
mingw32-make: *** [debug] Error 2
to fix:
in file qsvghandler.cpp change
Q_DECL_IMPORT double qstrtod(const char *s00, char const **se, bool *ok);
to
Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok);