[Qt-interest] Creating QPixmap from QByteArray causes segfault [SOLVED]

Andreas Pakulat apaku at gmx.de
Wed May 5 09:14:31 CEST 2010


On 05.05.10 11:22:17, Mandeep Sandhu wrote:
> On Wed, May 5, 2010 at 1:00 AM, Malyushytsky, Alex <alex at wai.com> wrote:
> >>> Is there a way I can instantiate QPixmap's in a non-GUI app?
> >
> > You can use QImage instead. It does not require GUI.
> 
> I could. But I'm writing a helper/util class which will be used in a
> GUI app. So in the actual app there won;t be an issue, it's just that
> when I want to test it out...I don;t want to write a GUI app!!! :)

By definition this class will need a GUI app for testing it. The GUI
might not display anything, but it needs a connection to the
OS-Graphics-System.

Andreas

-- 
You are a very redundant person, that's what kind of person you are.



More information about the Qt-interest-old mailing list