Bug 7638 - poppler-qt unusable if --disable-splash-output (and have cairo enabled)
Summary: poppler-qt unusable if --disable-splash-output (and have cairo enabled)
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: qt frontend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 03:50 UTC by Sebastian Dröge (slomo)
Modified: 2006-07-29 09:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastian Dröge (slomo) 2006-07-26 03:50:21 UTC
Hi,
currently (as of 0.5.3) the qt bindings are completely unusable if one tells
configure to enable them and disable the splash output. It misses the
libpoppler-splash symbols which isn't noticed at link time because
-Wl,--no-undefined is not used.

A valid fix would be to disable the qt bindings if splash is disabled.

Bye

PS: and libpoppler-qt doesn't link against qt either but this is probably not
needed as anything using the qt bindings will be linked against qt itself.
Comment 1 Albert Astals Cid 2006-07-26 10:26:18 UTC
* Doctor, Doctor, if i cut my legs i can't walk!
* Then don't cut your legs!

Now seriously ;-)

I wonder why anyone would want to disable splash besides having a marginally 
smaller lib.

I could try to do some ifdefing because poppler-qt frontend could still usable 
if you don't have splash, for example to query about document properties but 
probably i'll disable it enterely.
Comment 2 Albert Astals Cid 2006-07-26 10:49:23 UTC
By the way, HOW are you disable splash? I've used 
--disable-splash-output
--enable-splash-output=false
--enable-splash-output=no
and still got 
  splash output:      yes

at the end, this is using CVS version.
Comment 3 Sebastian Dröge (slomo) 2006-07-26 11:21:19 UTC
It was "--disable-splash-output --enable-cairo-output --enable-poppler-glib
--enable-poppler-qt".

We had this in Ubuntu for some time because a developer thought they were
mutually exclusive and the qt bindings use cairo too... well, both are enabled
now but it would be nice nonetheless to prevent such things in the future via
configure :)
Comment 4 Albert Astals Cid 2006-07-29 09:23:07 UTC
fixed in cvs


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.