title: Qt : No rule to make target '../controlpanel.ui', needed by 'ui_controlpanel.h'. Stop
body: <p>I met very strange problem on the Qt Creator. </p>
  
  <pre><code>:-1: error: No rule to make target '../controlpanel.ui', needed by 'ui_controlpanel.h'.  Stop.
  
  
  mingw32-make[1]: *** No rule to make target '../controlpanel.ui', needed by 'ui_controlpanel.h'.  Stop.
  mingw32-make: *** [debug] Error 2
  makefile:34: recipe for target 'debug' failed
  22:43:11: The process "C:\Qt\Qt5.4.0\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2.
  </code></pre>
  
  <p>This project compiled well before. But now I got compile error.
  I use Qt creator 5.4.0 on Windows.</p>
  
  <p>And specially, this project compiled without any error on the Qt Creator 5.4.0 of Mac version.</p>
  
  <p><strong>What was wrong? How can I solve this error?</strong></p>
  
  <p>This is a qmake file.</p>
  
  <pre><code>QT       += core gui opengl network multimedia
  
  greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  
  TARGET = LaserdockVisualizer
  TEMPLATE = app
  INCLUDEPATH += .
  
  # dwarf-2 for profiling
  #QMAKE_CXXFLAGS += -gdwarf-2
  
  include(../../LaserdockCore/LaserdockCore.pri)
  QMAKE_MAC_SDK = macosx10.10
  
  SOURCES += \
      main.cpp \
      LaserdockVisualizer/LaserdockVisualizerDelegate.cpp \
      LaserdockVisualizer/Form/LaserdockMainWindow.cpp \
      ...
      LaserdockVisualizer/Visualizations/Visualizers/Appakabar/Test/ldAppakabarTestSoundEventUtilVisualizer.cpp \
      LaserdockVisualizer/Visualizations/Visualizers/Appakabar/Test/ldAppakabarTestSoundEventUtilVisualizerControlPanel.cpp
  
  HEADERS += \
      LaserdockVisualizer/LaserdockVisualizerDelegate.h \
      LaserdockVisualizer/Form/LaserdockMainWindow.h \
      ...
      LaserdockVisualizer/Visualizations/Visualizers/Appakabar/Test/ldAppakabarTestSoundEventUtilVisualizer.h \
      LaserdockVisualizer/Visualizations/Visualizers/Appakabar/Test/ldAppakabarTestSoundEventUtilVisualizerControlPanel.h
  
  
  FORMS += \
      LaserdockVisualizer/Form/LaserdockMainWindow.ui \
      LaserdockVisualizer/Form/ldVisualizerControlPanelEmpty.ui \
      LaserdockVisualizer/Visualizations/Visualizers/ld3dCubeVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Test/ldTestControlVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Feldspar/ldWalkerVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Test/ldTestCircleVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Feldspar/test/ldMusicReactorTestVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Feldspar/test/ldFrameTestVisualizerControlPanel.ui \
      LaserdockVisualizer/Visualizations/Visualizers/Appakabar/Test/ldappakabartestsoundeventutilvisualizercontrolpanel.ui
  </code></pre>