<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Maik,<div><br></div><div>I have Linux, so I don't know about what Mac libraries you will need.</div><div><br></div><div>When I search for "enable_poppler_qt5" in the configure script, it seems to be running</div><div><br></div><div>pkg-config --exists --print-errors "Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Xml >= 5.0.0 Qt5Widgets >= 5.0.0"</div><div><br></div><div>You might need to install additional Qt5 libraries.</div><div><br></div><div>Regards,</div><div>William</div><div><br></div><div><br><div><hr id="stopSpelling">Subject: Re: [poppler] Build and Install poppler-qt5-mac ; Poppler Qt5 interface library, libpoppler-qt5<br>From: mail@moozoom.de<br>Date: Fri, 24 Jul 2015 11:54:00 +0200<br>CC: poppler@lists.freedesktop.org<br>To: williambader@hotmail.com<br><br>Thank you for you help.<div><br></div><div><br></div><div>Now, the rerun of ./configure works:</div><div><br></div><div><br></div><div style="font-size:11px;font-family:Menlo;">Building poppler with support for:</div><div style="font-size:11px;font-family:Menlo;"> font configuration: fontconfig</div><div style="font-size:11px;font-family:Menlo;"> splash output: yes</div><div style="font-size:11px;font-family:Menlo;"> cairo output: yes</div><div style="font-size:11px;font-family:Menlo;"> qt4 wrapper: no</div><div style="font-size:11px;font-family:Menlo;"> qt5 wrapper: no</div><div style="font-size:11px;font-family:Menlo;"> glib wrapper: yes</div><div style="font-size:11px;font-family:Menlo;"> introspection: yes</div><div style="font-size:11px;font-family:Menlo;"> cpp wrapper: yes</div><div style="font-size:11px;font-family:Menlo;"> use gtk-doc: no</div><div style="font-size:11px;font-family:Menlo;"> use libjpeg: no</div><div style="font-size:11px;font-family:Menlo;"> use libpng: yes</div><div style="font-size:11px;font-family:Menlo;"> use libtiff: no</div><div style="font-size:11px;font-family:Menlo;"> use zlib: no</div><div style="font-size:11px;font-family:Menlo;"> use libcurl: no</div><div style="font-size:11px;font-family:Menlo;"> use libopenjpeg: yes</div><div style="font-size:11px;font-family:Menlo;"> with openjpeg1</div><div style="font-size:11px;font-family:Menlo;"> use cms: yes</div><div style="font-size:11px;font-family:Menlo;"> with lcms2</div><div style="font-size:11px;font-family:Menlo;"> command line utils: yes</div><div><span style="font-family:Menlo;font-size:11px;"> </span><span style="font-family:Menlo;font-size:11px;">test data dir:</span><span style="font-family:Menlo;font-size:11px;"> </span><span style="font-family:Menlo;font-size:11px;">/Users/moozoom/Desktop/poppler-0.34.0/./../test</span> </div><div><br></div><div><br></div><div>But I need the qt5 wrapper support.</div><div><br></div><div>qt5 wrapper support.</div><div><br></div><div>In the directory „/opt/local/lib/„ I see following libraries:</div><div><br></div><div>- libpoppler-cpp.0.dylib</div><div>- libpoppler-glib.8.dylib</div><div>- libpoppler.53.dylib</div><div>- libpoppler-cpp.a</div><div>- libpoppler-glib.a</div><div>- libpoppler.a</div><div><br></div><div>I only needs a dynamic library like „libpoppler-qt5.5.dylib“</div><div><br></div><div><br></div><div>In the directory „/opt/local/include/poppler/qt5/„ I see following *.h-Files:</div><div><br></div><div>- poppler-qt5.h </div><div>- …</div><div><br></div><div><br></div><div>In Qt Creator *.pro I include poppler with following lines:</div><div><br></div><div>
<pre style=""><span style="color:#800080;">INCLUDEPATH</span><span style="color:#c0c0c0;"> </span>+=<span style="color:#c0c0c0;"> </span>/opt/local/<span style="color:#808000;">include</span>/poppler/qt5</pre>
<pre style=""><span style="color:#800080;">LIBS</span><span style="color:#c0c0c0;"> </span>+=<span style="color:#c0c0c0;"> </span>-L/opt/local/lib<span style="color:#c0c0c0;"> </span>-lpoppler</pre><div><br></div></div><div><br></div><div>I Qt Creator I receive following error message:</div><div><br></div><div><div style=""><span style="color:#0000aa;">11:46:58: Führe Schritte für Projekt DTPDFIndexingExample aus...</span></div><div style=""><span style="color:#0000aa;">11:46:58: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.</span></div><div style=""><span style="color:#0000aa;">11:46:58: Starte "/usr/bin/make" </span></div><div style="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 -Wl,-rpath,/Users/moozoom/Qt/5.5/clang_64/lib -o DTPDFIndexingExample main.o -F/Users/moozoom/Qt/5.5/clang_64/lib -L/opt/local/lib -lpoppler -framework QtCore -framework DiskArbitration -framework IOKit </div><div style=""><span style="color:#aa0000;">Undefined symbols for architecture x86_64:</span></div><div style=""><span style="color:#aa0000;"> "Poppler::Document::load(QString const&, QByteArray const&, QByteArray const&)", referenced from:</span></div><div style=""><span style="color:#aa0000;"> _main in main.o</span></div><div style=""><span style="color:#aa0000;"> "Poppler::Document::~Document()", referenced from:</span></div><div style=""><span style="color:#aa0000;"> _main in main.o</span></div><div style=""><span style="color:#aa0000;"> "QDomDocument::toString(int) const", referenced from:</span></div><div style=""><span style="color:#aa0000;"> _main in main.o</span></div><div style=""><span style="color:#aa0000;"> "Poppler::Document::toc() const", referenced from:</span></div><div style=""><span style="color:#aa0000;"> _main in main.o</span></div><div style=""><span style="color:#aa0000;"> "Poppler::Document::isLocked() const", referenced from:</span></div><div style=""><span style="color:#aa0000;"> _main in main.o</span></div><div style=""><span style="color:#aa0000;">ld: symbol(s) not found for architecture x86_64</span></div><div style=""><span style="color:#aa0000;">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></div><div style=""><span style="color:#aa0000;">make: *** [DTPDFIndexingExample] Error 1</span></div><div style=""><span style="font-weight:600;color:#aa0000;">11:46:58: Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert 2 beendet.</span></div><div style=""><span style="color:#aa0000;">Fehler beim Erstellen/Deployment des Projekts DTPDFIndexingExample (Kit: Desktop Qt 5.5.0 clang 64bit)</span></div><div style=""><span style="color:#aa0000;">Bei der Ausführung von Schritt "Make"</span></div><div style=""><span style="color:#0000aa;">11:46:58: Verstrichene Zeit: 00:00.</span></div></div><div style=""><span style="color:#0000aa;"><br></span></div><div style=""><span style="color:#0000aa;"><br></span></div><div style="">How I must build poppler to create a poppler-qt5.5.dylib dynamic library?</div><div style=""><br></div><div style="">Please help me!</div><div style=""><br></div><div style=""><br></div><div style="">Thank you in advanced!</div><div style=""><br></div><div style=""><br></div><div style="">Best regards,</div><div style=""><br></div><div style=""><br></div><div style="">Maik</div><div><br></div><div><br></div><div><br><div><blockquote><div>Am 23.07.2015 um 19:07 schrieb William Bader <<a href="mailto:williambader@hotmail.com">williambader@hotmail.com</a>>:</div><br class="ecxApple-interchange-newline"><div><div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">You can follow the suggestions of the configure script.<div><br></div><div>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</div><div><br></div><div>Add that directory to the pkg-config search list with</div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">export PKG_CONFIG_PATH=</span>/usr/lib/pkgconfig/</div><div><br></div><div>or wherever the directory is, and then rerun ./configure</div><div><br></div><div><br></div><div><br></div><div><br><div><hr id="ecxstopSpelling">From: <a href="mailto:mail@moozoom.de">mail@moozoom.de</a><br>Date: Thu, 23 Jul 2015 17:29:08 +0200<br>To: <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>Subject: [poppler] Build and Install poppler-qt5-mac ; Poppler Qt5 interface library, libpoppler-qt5<br><br>Hello,<div><br></div><div>I would like to built and install poppler for Qt 5 on my mac.</div><div><br></div><div>On following website I can see the following dev-status:</div><div><br></div><div><a href="http://people.freedesktop.org/~aacid/docs/qt5/" target="_blank">http://people.freedesktop.org/~aacid/docs/qt5/</a></div><div><br></div><div><br></div><div>But in some projects poppler for qt5 is already in use.</div><div><br></div><div><br></div><div>How can I build and install poppler Qt 5 on my mac?</div><div><br></div><div><br></div><div>I downloaded the package „poppler-0.34.0“ und open my Terminal app.</div><div><br></div><div>I type following:</div><div><br></div><div><div style="font-size:11px;font-family:Menlo;">MaikZiemertsMBP:poppler-0.34.0 moozoom$ ./configure --enable-poppler-qt5</div></div><div style="font-size:11px;font-family:Menlo;"><br></div><div style="font-size:11px;font-family:Menlo;"><span style="font-family:Helvetica;font-size:12px;">I received following message:</span></div><div style="font-size:11px;font-family:Menlo;"><span style="font-family:Helvetica;font-size:12px;"><br></span></div><div>…</div><div style="font-size:11px;font-family:Menlo;"><span style="font-family:Helvetica;font-size:12px;"><br></span></div><div><div style="font-family:Menlo;font-size:11px;">checking for GTKDOC_DEPS... yes</div><div style="font-family:Menlo;font-size:11px;">checking for POPPLER_QT4... no</div><div style="font-family:Menlo;font-size:11px;">checking for POPPLER_QT5... no</div><div style="font-family:Menlo;font-size:11px;">configure: error: Package requirements (Qt5Core >= 5.0.0 Qt5Gui >= 5.0.0 Qt5Xml >= 5.0.0 Qt5Widgets >= 5.0.0) were not met:</div><div style="font-family:Menlo;font-size:11px;min-height:13px;"><br></div><div style="font-family:Menlo;font-size:11px;">No package 'Qt5Core' found</div><div style="font-family:Menlo;font-size:11px;">No package 'Qt5Gui' found</div><div style="font-family:Menlo;font-size:11px;">No package 'Qt5Xml' found</div><div style="font-family:Menlo;font-size:11px;">No package 'Qt5Widgets' found</div><div style="font-family:Menlo;font-size:11px;min-height:13px;"><br></div><div style="font-family:Menlo;font-size:11px;">Consider adjusting the PKG_CONFIG_PATH environment variable if you</div><div style="font-family:Menlo;font-size:11px;">installed software in a non-standard prefix.</div><div style="font-family:Menlo;font-size:11px;min-height:13px;"><br></div><div style="font-family:Menlo;font-size:11px;">Alternatively, you may set the environment variables POPPLER_QT5_CFLAGS</div><div style="font-family:Menlo;font-size:11px;">and POPPLER_QT5_LIBS to avoid the need to call pkg-config.</div><div style="font-family:Menlo;font-size:11px;">See the pkg-config man page for more details.</div><div style="font-family:Menlo;font-size:11px;"><br></div><div style="font-family:Menlo;font-size:11px;"><span style="font-family:Helvetica;font-size:12px;">How can I solve this problem?</span></div><div style="font-family:Menlo;font-size:11px;"><span style="font-family:Helvetica;font-size:12px;"><br></span></div><div style="font-family:Menlo;font-size:11px;"><span style="font-family:Helvetica;font-size:12px;"><br></span></div><div>I have already installed the Qt-Creator with Qt 5.5.</div><div><br></div><div><br></div><div>A alternative way was MacPorts, but MacPorts provided only „poppler-qt4-mac“ - NOT „poppler-qt-mac“.</div><div><br></div><div><br></div><div>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.</div><div><br></div><div><br></div><div><br></div><div>Thanks in advanced!</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>Maik</div><div><br></div><div> </div><div><br></div></div><div style="font-size:11px;font-family:Menlo;"><br></div><br>_______________________________________________ poppler mailing list <a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a> <a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a></div></div></div></div></blockquote></div><br></div></div></div> </div></body>
</html>