1

I have Qt 5.5 installed and poppler 0.36 installed on Mac OSX Yosemite 10.10.However when I was trying to build a .pro project, it shows error message like this:

Project ERROR: poppler-qt5 development package not found

I've tried with adding

INCLUDEPATH += /opt/local/include/poppler/qt5
LIBS += -L/opt/local/lib -lpoppler

to .pro file, but it doesn't look like working.

Can someone help me out here?

  • maybe `-lpoppler-qt5` instead of `-lpoppler`? (found [this](http://stackoverflow.com/questions/5135353/using-poppler-qt4-c) and [this](http://stackoverflow.com/questions/6857303/exploiting-poppler-in-qt-creator-help)) – Gombat Sep 18 '15 at 08:37
  • 1
    no, i've tried that also – Jacqueline Liu Sep 21 '15 at 14:05

2 Answers2

1

I'm currently in the same boat as you. From what I understand, the Qt5.5.0 pkg-config files are broken, and poppler depends on those build files to build it's poppler-qt5 bindings. Word on the street is that perhaps Qt5.5.1 (coming out this week probably) will resolve this.

Jason
  • 93
  • 10
1

I got a similar error when compiling qpdfview in Ubuntu. I solved this by installing libpoppler-qt5-dev library (see it here). This also installed libpoppler-dev.

luchonacho
  • 6,759
  • 4
  • 35
  • 52