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



  • 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?



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.