title: Qt - Using asterisk (*) in .pro-File with directories
body: <p>I have a .pro file which looks like:</p>
  
  <pre><code>SOURCES += myfolder/source1.cpp \
             myfolder/source2.cpp
  HEADERS  += myfolder/header1.h\
              myfolder/header2.h
  FORMS    += myfolder/form1.ui\
              myfolder/form2.ui
  </code></pre>
  
  <p>And everything works great. However, if I try to use an asterisk to include all the files, i.e.:</p>
  
  <pre><code>SOURCES  += myfolder/*.cpp
  HEADERS  += myfolder/*.h
  FORMS    += myfolder/*.ui
  </code></pre>
  
  <p>qmake throws a file-not-found-error: </p>
  
  <pre><code>WARNING: Failure to find: myfolder\*.cpp
  [...]
  :-1: error: No rule to make target `myfolder/*.cpp', needed by `release/source1.o'.  Stop.
  </code></pre>
  
  <p>In both cases, Qt-Creator can find the files.</p>
  
  <p>Is there a way to use the asterisk? It's annoying to type the files manually.</p>
  
  <p>Thank you!</p>
  
  <p>[EDIT: Qt 4.8.4, Windows 7, Qt-Creator 2.6.1. Sry for forgetting this thought it isnt needed.]</p>
  
  <p>[EDIT: Found solution: <a href="http://qt-project.org/forums/viewthread/1127" rel="noreferrer">http://qt-project.org/forums/viewthread/1127</a> . Thank you anyway!]</p>