Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
how add new libs like poppler on QT
Albator last edited by Albator
I work on QT with the Windows OS.
I'm looking to view pdf files.
After some research I found some redundancy in the answers, which led me to poppler.
I find a site offering different versions :
and i take poppler-0.68.0
I work with this version of QT :
and i use :
I extract my files, the classical manipulation :
and let's go, i add in my .pro :
QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport CONFIG += c++11 INCLUDEPATH += C:/Users/portalc/Desktop/doc_qt/poppler-0.68.0/bin LIBS += -L/Users/portalc/Desktop/doc_qt/poppler-0.68.0/lib
it builds without any problem, but when I try to add a #include "poppler.h" it doesn't find any.
I am ready to listen to all the explanations to move forward!
thank you :)
ODБOï last edited by
INCLUDEPATH += C:/Users/portalc/Desktop/doc_qt/poppler-0.68.0/bin
INCLUDEPATH += C:/Users/portalc/Desktop/doc_qt/poppler-0.68.0/include
Albator last edited by
thank you for your advice.
I find my headers now!