Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] Qt 5.3.1 build fails in 'qtquickcontrols\examples' directory on Windows with static release options

    Installation and Deployment
    1
    2
    1542
    Loading More Posts
    • 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.
    • redBeard
      redBeard last edited by

      I successfully built Qt 5.3.1 with shared debug options yesterday but when I tried to build another instance of 5.3.1 with static release options on configure the build fails in the 'qtquickcontrols\examples' directory (linking the 'calendar' example).

      The output:

      @
      link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.W
      indows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST /MAN
      IFESTFILE:release\calendar.exe.embed.manifest /OUT:release\calendar.exe @C:\Users\RJL~1.BST\AppData\Local\Temp\nm28D1.tmp
      LINK : fatal error LNK1181: cannot open input file 'qsqlite.lib'
      @

      There is no 'qsqlite.lib' anywhere in the build structure.

      In my shared debug structure the 'qtbase\src\plugins\sqldrivers\Makefile has a 'SUBTARGETS = sub-sqlite' line. But in static release structure the 'SUBTARGETS' line has no 'sub-sqlite' target....

      But the 'configure' output says that 'sqlite (plugin)' will be built. Hmmmm.

      Ideas?

      1 Reply Last reply Reply Quote 0
      • redBeard
        redBeard last edited by

        Turns out building 'examples' is not supported in 5.3. Had to specify '-nomake examples' on the configure command line. That worked.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post