October 22, 2011

yuriyb yuriyb
Lab Rat
8 posts

Can’t build QT 4.7.4 with "-static" option

 

Hi All,

I’ve just tried to build qt with following configure options:

  1. configure -debug-and-release -opensource -static -plugin-sql-sqlite -no-qt3support -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -mmx -3dnow -sse -sse2 -phonon -phonon-backend -multimedia -audio-backend -webkit -script -declarative -arch windows -mp

After successfully configure, in build time I was recieve following message from linker:

  1. LINK : fatal error LNK1104: cannot open file '../JavaScriptCore/debug\jscore.lib'

After search in qt folder for “jscore.lib” – I found it in Qt\4.7.4\src\3rdparty\webkit\JavaScriptCore\{debug|release} folders.

What is wrong in my case ?

1 reply

October 29, 2011

zither zither
Lab Rat
147 posts

You should try with -release only option not -debug-and-release.

 
  ‹‹ openAL ALCcontext nondeclared identifier      [solved] Unresolved externals building application with Qt 4.7.4 (static) using MSVS 2010 ››

You must log in to post a reply. Not a member yet? Register here!