Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mad_Mac

Pages: [1]
1
General / Problem with QT Creator and SFML
« on: April 23, 2011, 07:15:15 pm »
Works now :) Thank you.

2
General / Problem with QT Creator and SFML
« on: April 23, 2011, 05:50:35 pm »
Quote from: "Laurent"
ATI graphics card?


Yes. HD4850.

3
General / Problem with QT Creator and SFML
« on: April 23, 2011, 03:46:12 pm »
Hello.

 I have been using SFML for a while with code::blocks, but I would like to use both QT and SFML together.

I can build SFML but it doesn't run. There just comes: Starting E:\QtProjects\sfml\debug\sfml.exe... and after that nothing appears and I have to kill from task manager.

Code is:
Code: [Select]
INCLUDEPATH += E:/QtSDK/Desktop/Qt/4.7.3/mingw/include
LIBS += E:/QtSDK/Desktop/Qt/4.7.3/mingw/lib/libsfml-system.a \
        E:/QtSDK/Desktop/Qt/4.7.3/mingw/lib/libsfml-window.a \
        E:/QtSDK/Desktop/Qt/4.7.3/mingw/lib/libsfml-graphics.a \


SOURCES += \
    main.cpp \


Code: [Select]

#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>

int main()
{
     sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

     // Start main loop
     bool Running = true;
     while (Running)
     {
         App.Display();
     }

     return EXIT_SUCCESS;
}


I have Windows 7 64-bit.

Pages: [1]