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

qmake overescaped defines in vcxproj files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.0.0 Beta 2
    • 5.0.0 Beta 1
    • Build tools: qmake
    • None
    • VS 2010, VS 2012

      Having a DEFINE in a .pro file like this

      DEFINES += SRCDIR=\\\"$$PWD/\\\"
      

      will produce a DEFINES line in the vcxproj

      SRCDIR=\"D:/dev/QTBUG/qmake-quoting/\";QT_DLL;...
      

      The double quotes must not be escaped.

        1. main.cpp
          0.1 kB
        2. qmake-quoting.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes