title: Create Qt Pro 'QWidget' does not name a type Q_DISABLE_COPY(QWidget)
body: <p>I use Qt(5.6.1) creator(4.0.3)in Unbuntu16.10，I create a simple Pro,without adding any codes .but many Problems occur.the code below here:
  Test.pro:</p>
  
  <pre><code>QT       += core gui
  
  greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  
  TARGET = Test
  TEMPLATE = app
  
  
  SOURCES += main.cpp\
          widget.cpp
  
  HEADERS  += widget.h
  
  FORMS    += widget.ui
  </code></pre>
  
  <p>widget.h</p>
  
  <pre><code> #ifndef WIDGET_H
   #define WIDGET_H
  
  #include &lt;QWidget&gt;
  namespace Ui {
  class Widget;
  }
  
  class Widget : public QWidget
  {
      Q_OBJECT
  
  public:
      explicit Widget(QWidget *parent = 0);
      ~Widget();
  
  private:
      Ui::Widget *ui;
  };
  
  #endif // WIDGET_H
  </code></pre>
  
  <p>widget.cpp</p>
  
  <pre><code>#include "widget.h"
  #include "ui_widget.h"
  
  Widget::Widget(QWidget *parent) :
      QWidget(parent),
      ui(new Ui::Widget)
  {
      ui-&gt;setupUi(this);
  }
  
  Widget::~Widget()
  {
      delete ui;
  }
  </code></pre>
  
  <p>the problems like this:
  <a href="https://i.stack.imgur.com/1yMdh.png" rel="nofollow noreferrer">problems</a></p>