Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47313

Qt build fails if parent of source/build directories contains "-release" suffix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.1
    • 5.5.0
    • Build System
    • Windows 7 x64, Visual Studio 2013
    • 5260c01bbe0e59d566786157b6dae705e981bb3e

      If source directory is called "qt-debug-and-release\src" and build directory is called "qt-debug-and-release\build", build fails with the following error:

      16:40:02 	link /NOLOGO /DYNAMICBASE /NXCOMPAT /BASE:0x67000000 /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.5 /MANIFEST:embed /OUT:..\..\lib\Qt5Cored.dll @C:\Windows\TEMP\nm2C90.tmp
      16:40:02 LINK : fatal error LNK1104: cannot open file 'qtpcred.lib'
      

      The reason is that the build system creates directory "qt-debug-and-debug\build\qtbase\lib" and stores qtpcred.lib there.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            un1or Vladimir Ivanov
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes