title: Qt Creator adding files to C++ project issue
body: <p>I have a (possibly noob) question regarding adding files to a C++ Qt Creator project.</p>
  
  <p>I right-click, to <code>Add New...</code>, either <code>c++ class</code> or <code>.cpp</code> or <code>.h</code> file. The file is created in my project folder, and is added in the <code>.pro</code> file. The problem is that it is not added in the <code>Projects</code> panel, and when opening the file I get this warning on top of text editor: <code>Warning: This file is not part of any project. The code model might have issues parsing this file properly.</code> </p>
  
  <p>The file(s) is added as it was supposed to, if I shut down Qt Creator and then open it again.</p>
  
  <p>As an example (minus the warning) I attach the following picture, for file <code>asd.cpp</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/60FOI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/60FOI.png" alt="enter image description here"></a></p>
  
  <p>I have searched the web and found some answers but none seem to be relevant to my issue. They refer to a <code>CMakeLists.txt</code> file (which I can't find btw), but I am using qmake in this project not cmake.</p>
  
  <p>Any help??</p>