Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
/MyFolder/main.cpp:7: error: undefined reference to 'TTF_Init' |
IDE: Qt Creator 2.0.0
Project type: Qt4 Console Application
Selected required modules: QtCore
The following source code was used:
[source cannot be disclosed] |
The following project file was used:
#------------------------------------------------- |
You need to link against the SDL true-type fonts library. Add the following line to your project file:
LIBS += -L/usr/local/lib -lSDL_ttf |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.