<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - test-render-to-file.cpp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100552#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - test-render-to-file.cpp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100552">bug 100552</a>
              from <span class="vcard"><a class="email" href="mailto:gwenael@freebyte.fr" title="gwenael@freebyte.fr">gwenael@freebyte.fr</a>
</span></b>
        <pre>Sorry, a mistake in my previous answer,

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

#include <QtCore/QDebug>
#include <QtCore/QFile>
-#include <QGuiApplication>
-#include <QImage>
+#include <QtGui/QGuiApplication>
+#include <QtGui/QImage>

(In reply to gwenael from <a href="show_bug.cgi?id=100552#c2">comment #2</a>)
<span class="quote">> Hi,

> I have bee dealing with this bug since a long time and was able to compile
> successfully on MacOS, replacing

> +#include <QtWidgets/QApplication>

> by 

> +#include <QtGui/QApplication>


> (In reply to Albert Astals Cid from <a href="show_bug.cgi?id=100552#c1">comment #1</a>)
> > This is still not the correct fix.</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>