[poppler] poppler qt version question

Albert Astals Cid aacid at kde.org
Mon Nov 3 12:04:38 PST 2008


A Dilluns 03 Novembre 2008, Oguz Yarimtepe va escriure:
> I was trying to search how can i use pypoppler at my QT application. I
> have two question. The first one is whether i can use the pypoppler
> current release[1] at my QT application to show pdf files. The example
> at its source is for a GTK application.
>
> Second one i got the below error message when i tried to compile the
> poppler qt4 binding which is here:
> http://svn.pardus.org.tr/uludag/trunk/pypoppler-qt4

Hi, none of the pypoppler packages are "official" poppler packages, as you 
say, the one at http://www.gnome.org/~gianmt only has bindings for the glib 
part and the one at the pardus svn was against an older poppler version so it 
does not compile.

I'm sure Gian Mario would be happy if you help him making his bindings also 
work on the Qt part of poppler.

Albert

>
> $ make
> g++ -c -pipe -fpermissive -fPIC  -O1 -Wall -W -D_REENTRANT -DQT_SHARED
> -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/usr/include/poppler
> -I/usr/qt/4/include -I/usr/qt/4/include/QtXml/ -I/usr/include/python2.5
> -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o
> sipQtPopplercmodule.o sipQtPopplercmodule.cpp
> g++ -c -pipe -fpermissive -fPIC  -O1 -Wall -W -D_REENTRANT -DQT_SHARED
> -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/usr/include/poppler
> -I/usr/qt/4/include -I/usr/qt/4/include/QtXml/ -I/usr/include/python2.5
> -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o
> sipQtPopplerQList.o sipQtPopplerQList.cpp
> g++ -c -pipe -fpermissive -fPIC  -O1 -Wall -W -D_REENTRANT -DQT_SHARED
> -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/usr/include/poppler
> -I/usr/qt/4/include -I/usr/qt/4/include/QtXml/ -I/usr/include/python2.5
> -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o
> sipQtPopplerPopplerDocument.o sipQtPopplerPopplerDocument.cpp
> sipQtPopplerPopplerDocument.cpp: In function ‘PyObject*
> meth_Poppler_Document_embeddedFiles(PyObject*, PyObject*)’:
> sipQtPopplerPopplerDocument.cpp:772: warning: taking address of
> temporary
> g++ -c -pipe -fpermissive -fPIC  -O1 -Wall -W -D_REENTRANT -DQT_SHARED
> -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I/usr/include/poppler
> -I/usr/qt/4/include -I/usr/qt/4/include/QtXml/ -I/usr/include/python2.5
> -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/X11R6/include -o
> sipQtPopplerPopplerPage.o sipQtPopplerPopplerPage.cpp
> sipQtPopplerPopplerPage.cpp: In function ‘PyObject*
> meth_Poppler_Page_splashRenderToImage(PyObject*, PyObject*)’:
> sipQtPopplerPopplerPage.cpp:73: error: ‘class Poppler::Page’ has no
> member named ‘splashRenderToImage’
> sipQtPopplerPopplerPage.cpp: In function ‘PyObject*
> meth_Poppler_Page_splashRenderToPixmap(PyObject*, PyObject*)’:
> sipQtPopplerPopplerPage.cpp:107: error: ‘class Poppler::Page’ has no
> member named ‘splashRenderToPixmap’
> sipQtPopplerPopplerPage.cpp: In function ‘PyObject*
> meth_Poppler_Page_renderToPixmap(PyObject*, PyObject*)’:
> sipQtPopplerPopplerPage.cpp:135: error: ‘class Poppler::Page’ has no
> member named ‘renderToPixmap’
> make: *** [sipQtPopplerPopplerPage.o] Error 1
>
> [1] http://www.gnome.org/~gianmt/pypoppler-0.8.0.tar.gz
>
> Thanx.
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list