bonjour
j'essaye depuis un moment d'installer la SFML 2.1 avec Qt5 sans résultat, j'ai essayer d'explorer les anciennes sujet......aucune sujet ne correspond
pour l'installation j'ai suivi ce tutotiel http://www.youtube.com/watch?v=dBW6TrahEAU (http://www.youtube.com/watch?v=dBW6TrahEAU)
les erreurs en sorties
std::locale const&)'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:20: undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:20: undefined reference to `sf::Window::create(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:28: undefined reference to `sf::Window::close()'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:24: undefined reference to `sf::Window::pollEvent(sf::Event&)'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:32: undefined reference to `sf::Window::display()'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:22: undefined reference to `sf::Window::isOpen() const'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:33: undefined reference to `sf::RenderWindow::~RenderWindow()'
C:\Qt\Tools\QtCreator\bin\build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug/../testesssfml/mainwindow.cpp:33: undefined reference to `sf::RenderWindow::~RenderWindow()'
collect2.exe: error: ld returned 1 exit status
Makefile.Debug:80: recipe for target 'debug\testesssfml.exe' failed
mingw32-make[1]: *** [debug\testesssfml.exe] Error 1
mingw32-make[1]: Leaving directory 'C:/Qt/Tools/QtCreator/bin/build-testesssfml-Desktop_Qt_5_2_0_MinGW_32bit-Debug'
makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
16:21:19: Le processus "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet testesssfml (kit : Desktop Qt 5.2.0 MinGW 32bit)
Lors de l'exécution de l'étape "Make"
16:21:19: Temps écoulé : 00:03.
le .pro
#-------------------------------------------------
#
# Project created by QtCreator 2014-01-06T14:53:00
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = testesssfml
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
INCLUDEPATH += C:\\libs\\SFML-2.1\\include
LIBS += C:\\libs\\SFML-2.1\\lib\\sfml-system.lib \
C:\\libs\\SFML-2.1\\lib\\sfml-window.lib \
C:\\libs\\SFML-2.1\\lib\\sfml-graphics.lib \
C:\\libs\\SFML-2.1\\lib\\sfml-audio.lib \
C:\\libs\\SFML-2.1\\lib\\sfml-network.lib
DEFINES += SFML_STATIC
merci d'avance pour votre aide