Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13568

[Regression] Can not statically link to libQtSvg.a; undefined reference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.7.0
    • SVG Support
    • None

    Description

      While trying to statically link Qt into my application (as I have done with both 4.5.x and 4.6.x) I get the following linker error:
      g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,windows -o release\doublependulum.exe object_script.doublependulum.Release -L"c:\Qt\2010.05-rc1\qt\lib" -lmingw32 -lqtmain release\doublependulum_res.o -LC:/Qt/2010.05-rc1/qt/plugins/imageformats -lqsvg -lQtSvg -lQtOpenGL -lglu32 -lopengl32 -lQtGui -lgdi32-lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32

      c:\Qt\2010.05-rc1\qt\lib/libQtSvg.a(qsvghandler.o):qsvghandler.cpp.text+0x3be): undefined reference to `imp__Z7qstrtodPKcPS0_Pb'

      collect2: ld returned 1 exit status

      The program is built using qmake and has never given any trouble before.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              freddie Freddie Witherden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes