Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24985

Editing/highlighting functions get lost when QMAKE_CXXFLAG is defined in certain way

    XMLWordPrintable

Details

    • Windows
    • ae794d5914d37e575fe75510f5ab2b339843da36 (qt-creator/qt-creator/4.14)

    Description

      Qt Creator looses editing functionality such as prediction and highlighting when the following line is added to .pro.

      QMAKE_CXXFLAGS += -D MODULE_NAME=\\\"$${TARGET}$${MY_MODULE}\\\"
      

      Also Qt Creator shows Issues

      and warnings.

      No highliging in mainwindow.cpp

      How to reproduce :
      Use Qt Application example and add the following to .pro and then Run qmake

      QMAKE_CXXFLAGS += -D MODULE_NAME=\\\"$${TARGET}$${MY_MODULE}\\\"
      

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              nagrohn Nahomi Gröhn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes