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

Qt SDK rebuild with OpenSSL / MinGW fails at QWebKitd4.dll (QNetwork)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • P3: Somewhat important
    • None
    • 4.6.0
    • None
    • None
    • Windows 7 (amd64) - MinGW 4.4.0 - Qt SDK 2009.05 - OpenSSL 0.9.8l

    Description

      I was trying to build Qt 4.6.0 with OpenSSL support on a Win32 platform using the MinGW compiler.

      Many libraries compiled fine but at QWebKitd4.dll the compiler fails, I tried it serveral times with clean installation but still fails, I did not yet try the normal Qt Libraries, only SDK.

      Qt Build configuration: configure.exe -debug-and-release -openssl -I C:\Development\OpenSSL\include -L C:\Development\OpenSSL\lib

      The compiler returned the following: (seems to be a linking problem)

      cd src\3rdparty\webkit\WebCore\ && mingw32-make
      mingw32-make[1]: Entering directory `C:/Development/Qt/qt/src/3rdparty/webkit/We
      bCore'
      mingw32-make -f Makefile.Debug all
      mingw32-make[2]: Entering directory `C:/Development/Qt/qt/src/3rdparty/webkit/We
      bCore'
      g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
      oc -mthreads -Wl -shared -Wl,--out-implib,c:\Development\Qt\qt\lib\libQtWebKitd4
      .a -o ..\..\..\..\lib\QtWebKitd4.dll object_script.QtWebKitd.Debug  -L"c:\Develo
      pment\Qt\qt\lib" -L"c:\Development\Qt\qt\lib" obj\debug\QtWebKitd_resource_res.o
       -LC:\Development\OpenSSL\lib -lwinmm -lgdi32 -luser32 -lwinmm -ladvapi32 -lgdi3
      2 -lshell32 -lshlwapi -luser32 -lversion -lphonond4 -lQtXmlPatternsd4 -lQtGuid4
      -lQtNetworkd4 -lQtCored4
      Creating library file: c:\Development\Qt\qt\lib\libQtWebKitd4.a
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x5a): undefi
      ned reference to `vtable for WebCore::FormDataIODevice'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x12c): undef
      ined reference to `vtable for WebCore::FormDataIODevice'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x1f1): undef
      ined reference to `vtable for WebCore::FormDataIODevice'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x293): undef
      ined reference to `vtable for WebCore::FormDataIODevice'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x335): undef
      ined reference to `vtable for WebCore::FormDataIODevice'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0x820): undef
      ined reference to `vtable for WebCore::QNetworkReplyHandler'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xa9e): undef
      ined reference to `vtable for WebCore::QNetworkReplyHandler'
      ./obj\debug\QNetworkReplyHandler.o:QNetworkReplyHandler.cpp:(.text+0xd22): undef
      ined reference to `WebCore::QNetworkReplyHandler::processQueuedItems()'
      ./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x314b): undefi
      ned reference to `QWebPage::unsupportedContent(QNetworkReply*)'
      ./obj\debug\FrameLoaderClientQt.o:FrameLoaderClientQt.cpp:(.text+0x425e): undefi
      ned reference to `QWebPage::downloadRequested(QNetworkRequest const&)'
      collect2: ld returned 1 exit status
      mingw32-make[2]: *** [..\..\..\..\lib\QtWebKitd4.dll] Error 1
      mingw32-make[2]: Leaving directory `C:/Development/Qt/qt/src/3rdparty/webkit/Web
      Core'
      mingw32-make[1]: *** [debug-all] Error 2
      mingw32-make[1]: Leaving directory `C:/Development/Qt/qt/src/3rdparty/webkit/Web
      Core'
      mingw32-make: *** [sub-webkit-sub_src_target_ordered] Error 2
      

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            lembregtse Eric Lembregts
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes