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

Incorrect "include" in New Application template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 11.0.2
    • Qt Creator 10.0.0, Qt Creator 10.0.1, Qt Creator 10.0.2, Qt Creator 11.0.0, Qt Creator 11.0.1
    • None
    • Windows 10 x86_64
    • Windows

      Hi, Support,

      This is about New Application Wizard. (Qt Widgets application)

      I see this bug for a year already: an incorrect include path appears for "ui_mainwindow.h".

      It appears at the top of "mainwindow.cpp" as:

      #include "./ui_mainwindow.h"

      and both editor and compiler can't accept such path.

      At the same time such simple modification:

      #include <ui_mainwindow.h>

      works fine. Could anyone fix this problem?

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

            cadam Cristian Adam
            deadliex Vasya Pupkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes