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

MSVC debug build fails if application has spaces in target name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.2.1
    • Build tools: qmake
    • None

      Building application with spaces in its name fails, because the generated Makefile.debug contains CFLAG /Fd without double quotes in the pdb filepath e.g. CFLAGS = /Fddebug/My Application Name.pdb. This causes the debug build to fail with "unrecognized source file type Application" etc. errors.

      The error is in qtbase/qmake/generators/win32/msvc_nmake.cpp init() function where the pdb filepath is added without double quotes.

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

            buddenha Oswald Buddenhagen
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes