My project consists of two programs - one QT, one non-QT. I want to code them both using QtCreator.

My problem: I need to make a program using QtCreator without any QT dependencies, and without a console window.

My .pro file:
Qt Code:
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2010-12-22T21:58:04
  4. #
  5. #-------------------------------------------------
  6.  
  7. #QT += core
  8.  
  9. #QT -= gui \
  10. # core
  11.  
  12. #Executable name:
  13. TARGET = Game
  14. #Folder to stick the executable in:
  15. DESTDIR = "../../Bin"
  16.  
  17. CONFIG -= app_bundle
  18.  
  19. TEMPLATE = app
  20.  
  21. #A custom define I'm using.
  22. DEFINES = COMMON_USING_SFML
  23.  
  24. INCLUDEPATH = .......
  25.  
  26. LIBS = .......
  27.  
  28. SOURCES = \
  29. ........
  30.  
  31. HEADERS = \
  32. ........
To copy to clipboard, switch view to plain text mode 

Also, in the "Project" sidebar button, under "Build Settings", I added to MingW '-mwindows' command.

Here's my settings:


I really apreciate your help.

Thought: Is the console window showing up, merely because I haven't yet coded an actual window yet?

Thought 2: Did I put the '-mwindows' flag in the right spot?