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. Can’t build QT 4.7.4 with "-static" option
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.7k 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.
  • Y Offline
    Y Offline
    yuriyb
    wrote on last edited by
    #1

    Hi All,

    I've just tried to build qt with following configure options:
    @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:
    @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 Last reply
    0
    • Z Offline
      Z Offline
      zither
      wrote on last edited by
      #2

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

      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