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