phpCoder
15.1.2015, 19:57
Добрый вечер.
Есть библиотека, которая состоит из:
1. Файл .dll
2. Файл .a
3. Файлы .h
Куда их пихать, чтобы они заработали? Что где прописывать?
Версия Qt 5.4.
Вот вам надо использовать чужую библиотеку, хотите ее подключить. Ваши действия?
Цитата
1) Add the library to the LIBS variable in your .pro file:
LIBS += -llibrary
2) Add the library path to the LIBS variables in your .pro file:
LIBS += -LC:/path/to/library
3) Add the include path to the INCLUDEPATH variable in your .pro file:
INCLUDEPATH += C:/path/to/includes
Отсюда
http://qt-project.org/forums/viewthread/6960