I can't run Qt program after it's linked with SFML.
It says "The program has unexpectedly finished".
This is my .pro file.
#-------------------------------------------------
#
# Project created by QtCreator 2013-11-07T22:13:54
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = MapEditor
TEMPLATE = app
CONFIG(release, debug|release): LIBS += -LE:/SFML21/lib -lsfml-audio -lsfml-graphics -lsfml-network -lsfml-window -lsfml-system
CONFIG(debug, debug|release): LIBS += -LE:/SFML21/lib -lsfml-audio-d -lsfml-graphics-d -lsfml-network-d -lsfml-window-d -lsfml-system-d
INCLUDEPATH += E:/SFML21/include
DEPENDPATH += E:/SFML21/include
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
Am I do something wrong?
I use Qt 5.1.0 32 bit Visual Studio 2012 and SFML 2.1