[poppler] qt4/demos does not compile

Erik Hovland erik at hovland.org
Thu Jun 4 20:31:39 PDT 2009


It seems that qt4/demos is missing a object file rule in Makefile.am
and a .moc file:
erik at mjollnir:~/src/poppler$ make -C qt4/demos
make: Entering directory `/home/erik/src/poppler/qt4/demos'
/bin/bash ../../libtool --tag=CXX   --mode=link g++  -Wall
-Wno-write-strings -g -O2   -o poppler_qt4viewer abstractinfodock.o
documentobserver.o embeddedfiles.o fonts.o info.o main_viewer.o
metadata.o navigationtoolbar.o optcontent.o pageview.o permissions.o
toc.o viewer.o ../../poppler/libpoppler.la
../../qt4/src/libpoppler-qt4.la -lfontconfig   -lQtGui -lQtXml
-lQtCore
libtool: link: g++ -Wall -Wno-write-strings -g -O2 -o
.libs/poppler_qt4viewer abstractinfodock.o documentobserver.o
embeddedfiles.o fonts.o info.o main_viewer.o metadata.o
navigationtoolbar.o optcontent.o pageview.o permissions.o toc.o
viewer.o  ../../poppler/.libs/libpoppler.so
../../qt4/src/.libs/libpoppler-qt4.so
/home/erik/src/poppler/poppler/.libs/libpoppler.so /usr/lib/liblcms.so
/usr/lib/libjpeg.so -lopenjpeg /usr/lib/libxml2.so
/usr/lib/libfreetype.so -lz -lfontconfig -lQtGui -lQtXml -lQtCore
-pthread
viewer.o: In function `PdfViewer':
/home/erik/src/poppler/qt4/demos/viewer.cpp:122: undefined reference
to `ThumbnailsDock::ThumbnailsDock(QWidget*)'
/home/erik/src/poppler/qt4/demos/viewer.cpp:122: undefined reference
to `ThumbnailsDock::ThumbnailsDock(QWidget*)'
collect2: ld returned 1 exit status
make: *** [poppler_qt4viewer] Error 1
make: Leaving directory `/home/erik/src/poppler/qt4/demos'

The file thumbnails.cpp is there. But make doesn't know how to compile it.

Thanks

E

-- 
Erik Hovland
erik at hovland.org
http://hovland.org/


More information about the poppler mailing list