Translations:Development/Tutorials/Using Qt Creator/17/en
To use KDE classes like KMessageBox, you need to tell QtCreator to use the KDE libraries when building. Go to your home directory, change into yourproject and modify yourproject.pro. Add the line
LIBS += -lkdeui
Then you can start using KDE classes in your code.