Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt static build
Qt 6.11 is out! See what's new in the release blog

Qt static build

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nitin777
    wrote on last edited by
    #1

    i am trying to build a static version of qt 4.7 on wince platform.im using msvc with Qt addin.i used the following configuration to configure Qt statically in visual studio command prompt.

    @configure -platform win32-msvc2008 -xplatform wince60un20-mipsiv_fp-msvc2008 -opensource -debug-and-release -qt-libjpeg -qt-gif -qt-libpng -no-qt3support -no-phonon -no-phonon-backend -xmlpatterns -exceptions -arch windowsce -nomake examples -nomake demos -static@

    when i tried to build the projects.sln ,i got these link errors.

    @QtGuid.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: static bool __cdecl QGifHandler::canRead(class QIODevice *)" (?canRead@QGifHandler@@SA_NPAVQIODevice@@@Z) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
    1>QtGuid.lib(qimagereader.obj) : error LNK2019: unresolved external symbol "public: __cdecl QGifHandler::QGifHandler(void)" (??0QGifHandler@@QAA@XZ) referenced in function "class QImageIOHandler * __cdecl createReadHandlerHelper(class QIODevice *,class QByteArray const &,bool,bool)" (?createReadHandlerHelper@@YAPAVQImageIOHandler@@PAVQIODevice@@ABVQByteArray@@_N2@Z)
    1>QtGuid.lib(qimagewriter.obj) : error LNK2001: unresolved external symbol "public: __cdecl QGifHandler::QGifHandler(void)" (??0QGifHandler@@QAA@XZ)
    1>QtGuid.lib(jmemmgr.obj) : error LNK2019: unresolved external symbol getenv referenced in function jinit_memory_mgr
    1>....\bin\qmlviewer.exe : fatal error LNK1120: 3 unresolved externals@

    anyone having an idea,pls help.
    thanks in advance
    nitin

    nitin

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #2

      I'll answer you with this link: http://blogs.msdn.com/b/vsdteam/archive/2005/11/20/495123.aspx

      Maybe that's your problem...

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved