View Full Version : SDL not working in QT Creator
litedrive
20th August 2011, 06:22
I installed libsdl-dev via apt-get in ubuntu, and while it displays in my code completion, for whatever reason QT Creator won't recognize the library when I try to compile it. Is there any reason why? I know virtually nothing about make files, and am just starting out with C++. Any help would be greatly appreciated.
wysota
20th August 2011, 09:37
Qt Creator will not reognize your library since it is just a text editor and not a compiler. You need to tell the compiler you want this library linked by adding an appropriate LIBS entry (such as LIBS+=-lsdl) to your project file.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.