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

QtCreator doesn't handle #if defined(X) in .h well.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 2.3.1
    • Editors
    • None
    • Win7 32b

    Description

      File.c:
      #define FILE_NEED_QTGUI
      #include "file.h"
      [...]

      file.h:
      [...]
      #if defined(FILE_NEED_QTGUI)
      #include <QtGui>
      #endif

      The code will compile correctly, but on QtCreator, everything will be as we haven't include QtGui.

      Attachments

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

        Activity

          People

            davschul David Schulz
            geod24 John Doe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes