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

CppSupport: Using upper-case extensions on OSX seems to irritate QC

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • create an application from template or add a C++ class to a given project
        • use .H as extension for the header and .cc for the extension of the source
      • open the header file (to have it opened at least once)
      • open the source file and trigger 'Switch between Header and Source'

      Current result:

      • QC opens the respective header but the header is now displayed with a .h extension (lower-case instead of upper-case) inside the 'Open Documents' view
      • the navigation view (Projects) still displays the doc with .H extension
      • changing the .h file triggers a message box of 'XYZ.H has changed outside QC...'

      Note: I've checked the directory and there's only the XYZ.H created.

      Additional note: Not sure if related: using .CC instead of .cc for the source does not trigger the 'Switch Header/Source' at all (on all platforms) but behaves similar to the above result - it "switches" to the same source file but now listed with lower-case extension. (on Linux nothing happens at all)

      Attachments

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

        Activity

          People

            con Eike Ziller
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes