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

Highlighting of conditional compile with Q_OS_WIN64 does not change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 2.6.0, Qt Creator 2.7.0
    • Editors
    • Windows Vista 64 bit

    Description

      1. Have some code like this in a project:
        #ifdef Q_OS_WIN64
            qDebug() << "This is 64 bit.";
        #else
            qDebug() << "This is 32 bit.";
        #endif
        
      2. Configure this with a 32 bit Kit and a 64 bit Kit.
        Highlighting does not change when toggling the Kits, see screenshots.

      Instead, highlighting should represent the bitness of the current Kit.

      Attachments

        1. 32.png
          32.png
          97 kB
        2. 64.png
          64.png
          85 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes