Hi,

I tried to do some tests with poppler and qt on an mx53.
I modified the poppler rules to enable poppler qt4 wrappers and started a 
simple test app.
On a host system the example is working. On the target it's basically also 
running but the rendered image is always null.

Has anybody successfully used poppler-qt with ptxdist/arm or are there any 
hints?

These are my modified rule files...

--- /usr/local/lib/ptxdist-2011.05.0/rules/poppler.in   2011-05-03 
21:09:39.000000000 +0200
+++ poppler.in  2011-05-13 12:00:15.454403560 +0200
@@ -9,6 +9,7 @@
        select CAIRO    if POPPLER_CAIRO
        select GTK      if POPPLER_SPLASH && POPPLER_GLIB
        select ZLIB     if POPPLER_ZLIB
+       select QT4      if POPPLER_QT4
        help
          Poppler is a PDF rendering library based on the xpdf-3.0 code base.

@@ -55,4 +56,10 @@
        help
          compiles poppler with zlib support.

+config POPPLER_QT4
+       bool
+       prompt "enable poppler QT4 wrapper."
+       help
+         compiles poppler with QT4 wrapper.
+
endif

--- /usr/local/lib/ptxdist-2011.05.0/rules/poppler.make 2011-05-03 
21:09:39.000000000 +0200
+++ poppler.make        2011-05-16 14:50:16.294400987 +0200
@@ -47,8 +47,6 @@
        --disable-abiword-output \
        --disable-gdk \
        --disable-gtk-test \
-       --disable-poppler-qt \
-       --disable-poppler-qt4 \
        --without-x

ifdef PTXCONF_POPPLER_BIN
@@ -87,6 +85,12 @@
POPPLER_AUTOCONF += --disable-poppler-glib
endif

+ifdef PTXCONF_POPPLER_QT4
+POPPLER_AUTOCONF += --enable-poppler-qt4
+else
+POPPLER_AUTOCONF += --disable-poppler-qt4
+endif
+
ifdef PTXCONF_HAS_HARDFLOAT
POPPLER_AUTOCONF += --disable-fixedpoint
else
@@ -117,6 +121,9 @@
ifdef PTXCONF_POPPLER_GLIB
        @$(call install_lib, poppler, 0, 0, 0644, libpoppler-glib)
endif
+ifdef PTXCONF_POPPLER_QT4
+       @$(call install_lib, poppler, 0, 0, 0644, libpoppler-qt4)
+endif
        @$(call install_finish, poppler)

        @$(call touch)


Thanks,
Matthias
-- 
ptxdist mailing list
[email protected]

Reply via email to