PDA

View Full Version : QT creator +SDL



ShapeShiftme
19th December 2010, 04:46
Good day

Im really new to C++ with Qt Development and now im trying something new by adding sdl (simple directmedia layer) to the mix. However i am able to write apps in console and compile them by running

g++ progoutput filename.cpp -lSDL -lSDL_image

But i would prefer to write my code in Qt CREATOR. would somone be able to explain to me howto include the libs and chane the compile options in order to get this to work.

Thanks very much

Lykurg
19th December 2010, 10:20
Use the LIBS variable of your pro file.

ShapeShiftme
19th December 2010, 11:44
thanks. it was that easy. have a great day.