title: Linking SDL2 in QtCreator
body: <p>So I want to use Qt as an editor for my SDL app. When I try to make even just a blank project in Qt and link up the libraries, it just can't find SDL2/SDL.h. Here is whats inside my .pro file:</p>
  
  <pre><code>mac: LIBS += "-F$$PWD/../Control Libraries/" -framework SDL2
  INCLUDEPATH += "$$PWD/../Control Libraries/SDL2.framework/Versions/A/Headers"
  
  
  mac: LIBS += "-F$$PWD/../Control Libraries/" -framework SDL2_mixer
  INCLUDEPATH += "$$PWD/../Control Libraries/SDL2_mixer.framework/Versions/A/Headers"
  
  
  mac: LIBS += "-F$$PWD/../Control Libraries/" -framework SDL2_ttf
  INCLUDEPATH += "$$PWD/../Control Libraries/SDL2_ttf.framework/Versions/A/Headers"
  </code></pre>
  
  <p>I can't find anyone who has posted how to get this to work, but I know there has to be some way. It works in Xcode with one click, so am I just doing something wrong? Thanks.</p>
  
  <p>EDIT:</p>
  
  <p>Here iss the error message:</p>
  
  <pre><code>    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -Wall -W -fPIE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../Qt/5.3/clang_64/mkspecs/macx-clang -I../SpudEngineEditor -I../Control\ Libraries/SDL2.framework/Headers -I../Control\ Libraries/SDL2_mixer.framework/Headers -I../Control\ Libraries/SDL2_ttf.framework/Headers -I../../../Qt/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I../../../Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers -I../../../Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I. -F/Users/Logan/Qt/5.3/clang_64/lib -o Camera.o ../SpudEngineEditor/Camera.cpp
  In file included from ../SpudEngineEditor/Camera.cpp:9:
  In file included from ../SpudEngineEditor/Camera.h:13:
  ../SpudEngineEditor/CoreEngine.h:14:9: warning: unknown pragma ignored [-Wunknown-pragmas]
  #pragma comment (lib, "glu32.lib")
          ^
  In file included from ../SpudEngineEditor/Camera.cpp:9:
  In file included from ../SpudEngineEditor/Camera.h:13:
  In file included from ../SpudEngineEditor/CoreEngine.h:34:
  ../Control Libraries/SDL2_ttf.framework/Headers/SDL_ttf.h:30:10: fatal error: 'SDL2/SDL.h' file not found
  #include &lt;SDL2/SDL.h&gt;
  </code></pre>
  
  <p>EDIT: I've gotten it so I can include , but not , which is a problem because SDL mixer and SDL rtf both use </p>