Bug 81005 - poppler-document.cc: In member function 'Qt::LayoutDirection Poppler::Document::textDirection() const':
Summary: poppler-document.cc: In member function 'Qt::LayoutDirection Poppler::Documen...
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: qt4 frontend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 13:31 UTC by David Reade
Modified: 2014-07-08 22:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Increase required Qt4 version (1.79 KB, patch)
2014-07-08 05:06 UTC, Jason Crain
Details | Splinter Review

Description David Reade 2014-07-07 13:31:11 UTC
I cannot compile poppler 0.26.2 or the GIT version. During make, the following appears:

make[4]: Entering directory `/datastore/sources/poppler-0.26.2/qt4/src'
  CXX      libpoppler_qt4_la-poppler-document.lo
poppler-document.cc: In member function 'Qt::LayoutDirection Poppler::Document::textDirection() const':
poppler-document.cc:201: error: 'LayoutDirectionAuto' is not a member of 'Qt'
poppler-document.cc:209: error: 'LayoutDirectionAuto' is not a member of 'Qt'
make[4]: *** [libpoppler_qt4_la-poppler-document.lo] Error 1
make[4]: Leaving directory `/datastore/sources/poppler-0.26.2/qt4/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/datastore/sources/poppler-0.26.2/qt4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/datastore/sources/poppler-0.26.2/qt4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/datastore/sources/poppler-0.26.2'
make: *** [all] Error 2
Comment 1 Jason Crain 2014-07-07 14:58:00 UTC
You might try using a newer Qt.  I think LayoutDirectionAuto was introduced in 4.7.0.
Comment 2 Jason Crain 2014-07-08 05:06:51 UTC
Created attachment 102409 [details] [review]
Increase required Qt4 version

Change autoconf and cmake to require at least version 4.7.0 of Qt.
Comment 3 Albert Astals Cid 2014-07-08 22:15:25 UTC
Pushed Jason's patch, thanks!


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.