You can follow the suggestions of the configure script.
Somewhere you should have a directory like /usr/lib/pkgconfig/ with Qt5.pc and 
a lot of other files that match the pattern Qt5*.pc
Add that directory to the pkg-config search list with
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
or wherever the directory is, and then rerun ./configure



From: [email protected]
Date: Thu, 23 Jul 2015 17:29:08 +0200
To: [email protected]
Subject: [poppler] Build and Install poppler-qt5-mac ; Poppler Qt5 interface 
library, libpoppler-qt5

Hello,
I would like to built and install poppler for Qt 5 on my mac.
On following website I can see the following dev-status:
http://people.freedesktop.org/~aacid/docs/qt5/

But in some projects poppler for qt5 is already in use.

How can I build and install poppler Qt 5 on my mac?

I downloaded the package „poppler-0.34.0“ und open my Terminal app.
I type following:
MaikZiemertsMBP:poppler-0.34.0 moozoom$ ./configure --enable-poppler-qt5
I received following message:
…
checking for GTKDOC_DEPS... yeschecking for POPPLER_QT4... nochecking for 
POPPLER_QT5... noconfigure: error: Package requirements (Qt5Core >= 5.0.0 
Qt5Gui >= 5.0.0 Qt5Xml >= 5.0.0 Qt5Widgets >= 5.0.0) were not met:
No package 'Qt5Core' foundNo package 'Qt5Gui' foundNo package 'Qt5Xml' foundNo 
package 'Qt5Widgets' found
Consider adjusting the PKG_CONFIG_PATH environment variable if youinstalled 
software in a non-standard prefix.
Alternatively, you may set the environment variables POPPLER_QT5_CFLAGSand 
POPPLER_QT5_LIBS to avoid the need to call pkg-config.See the pkg-config man 
page for more details.
How can I solve this problem?

I have already installed the Qt-Creator with Qt 5.5.

A alternative way was MacPorts, but MacPorts provided only „poppler-qt4-mac“ - 
NOT „poppler-qt-mac“.

Please, I need a Step-by-Step paper for building and installing poppler for Qt 
5 - for building the Poppler Qt5 interface library, libpoppler-qt5.


Thanks in advanced!

Best regards,

Maik
 


_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler                           
          
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to