Bug 94937 - Wrong header in test-render-to-file.cpp
Summary: Wrong header in test-render-to-file.cpp
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: qt frontend (show other bugs)
Version: unspecified
Hardware: Other Mac OS X (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 19:45 UTC by poubelle
Modified: 2017-04-04 11:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description poubelle 2016-04-14 19:45:09 UTC
When compiling poppler with qt5 support, it appears that in file :

qt5/tests/test-render-to-file.cpp

there is a problem in the header :

#include <QGuiApplication>
#include <QImage>

should be replaced with :

#include <QtGui/QGuiApplication>
#include <QtGui/QImage>
Comment 1 Albert Astals Cid 2016-04-17 22:34:24 UTC
#include <QGuiApplication> 

is correct.

Why are you saying it is not?
Comment 2 Albert Astals Cid 2016-11-29 23:40:10 UTC
No answer -> invalid
Comment 3 poubelle 2016-11-30 15:20:47 UTC
Sorry I forgot to answer.

Yes I'm saying that for compiling on my Mac OS it doesn't work without changing

to

#include <QtGui/QGuiApplication>
#include <QtGui/QImage>

I compile Poppler-Qt since a long time on Mac, and this bug appeared since upgrade to Qt5.
Comment 4 Albert Astals Cid 2016-11-30 15:27:16 UTC
you can either provide a "proper" patch, 
no changing
#include <QGuiApplication>
to 
#include <QtGui/QGuiApplication>

is not proper.

Or you can find what's wrong with your Qt installation


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.