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

MSVC debug build fails if application has spaces in target name

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes