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:
#-------------------------------------------------
#
# Project created by QtCreator 2010-12-22T21:58:04
#
#-------------------------------------------------
#QT += core
#QT -= gui \
# core
#Executable name:
TARGET = Game
#Folder to stick the executable in:
DESTDIR = "../../Bin"
CONFIG -= app_bundle
TEMPLATE = app
#A custom define I'm using.
DEFINES = COMMON_USING_SFML
INCLUDEPATH = .......
LIBS = .......
SOURCES = \
........
HEADERS = \
........
#-------------------------------------------------
#
# Project created by QtCreator 2010-12-22T21:58:04
#
#-------------------------------------------------
#QT += core
#QT -= gui \
# core
#Executable name:
TARGET = Game
#Folder to stick the executable in:
DESTDIR = "../../Bin"
CONFIG -= app_bundle
TEMPLATE = app
#A custom define I'm using.
DEFINES = COMMON_USING_SFML
INCLUDEPATH = .......
LIBS = .......
SOURCES = \
........
HEADERS = \
........
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?
Bookmarks