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

Static build is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.0
    • Build System
    • None
    • Qt 4.7 git commit 75c5bc5f7efd5f7055b689a244147e69733280a4
      Windows 7
      Visual Studio 2008 SP1
    • 80ad34046e2d3d0b8bd5d8346cb1edb0c83c1585

    Description

      With the static build I got the following error;

      link /LIBPATH:"c:\qt-static\lib" /LIBPATH:"c:\qt-static\plugins\sqldrivers" /LIBPATH:"c:\qt-static\lib" /NOLOGO /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"tmp\obj\release_static\assistant.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:..\..\..\..\bin\assistant.exe @C:\Users\ismail\AppData\Local\Temp\nm8598.tmp 
         Creating library ..\..\..\..\bin\assistant.lib and object ..\..\..\..\bin\assistant.exp
      QtGui.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: static bool __cdecl QTiffHandler::canRead(class QIODevice *)" (?canRead@QTiffHandler@@SA_NPAVQIODevice@@@Z) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
      QtGui.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: static bool __cdecl QJpegHandler::canRead(class QIODevice *)" (?canRead@QJpegHandler@@SA_NPAVQIODevice@@@Z) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
      QtGui.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: __thiscall QJpegHandler::QJpegHandler(void)" (??0QJpegHandler@@QAE@XZ) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
      QtGui.lib(qimagewriter.obj) : error LNK2001: unresolved external symbol "public: __thiscall QJpegHandler::QJpegHandler(void)" (??0QJpegHandler@@QAE@XZ)
      QtGui.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: __thiscall QTiffHandler::QTiffHandler(void)" (??0QTiffHandler@@QAE@XZ) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
      QtGui.lib(qimagewriter.obj) : error LNK2001: unresolved external symbol "public: __thiscall QTiffHandler::QTiffHandler(void)" (??0QTiffHandler@@QAE@XZ)
      ..\..\..\..\bin\assistant.exe : fatal error LNK1120: 4 unresolved externals
      

      Possibly related to commit 802dc404d1af9a08fdc23ef32e2fbc77f138f70a

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            cartman İsmail Dönmez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes