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

Making class in new directory causes wrong include headers

    XMLWordPrintable

Details

    • a296b84dc46215ba333ddcd44cd45663d9b139b8, c770d3f4a760fdd1ce6aaeb02efb617e7a21a24e

    Description

      I actually think it's just luck that you even can create class in new folder at all. For some reason, authors of QtCreator thought it should be forbidden to use directory structure for your project, as seen below:

      However there's a workaround around this (intentionally implemented) restriction:

      But this workaround causes slight issue with the include in CPP file:

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            bugs everywhere MXXIV
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes