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

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

      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}\\\"
      

        For Gerrit Dashboard: QTCREATORBUG-24985
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes