[Qt-interest] QLabel does not display pixmap
Andreas Diehl
Andreas_Diehl at abs.org
Fri Jan 2 12:33:52 CET 2009
Hello there.
I had the same problem some time ago after installing a new version of
Qt. My solution was, that I added the Qt plugin path to my QApplication
like:
int main( int argc, char** argv )
{
QApplication app( argc, argv );
app.addLibraryPath("C:/Programs/Qt/4-4-3/plugins");
//...
}
The "plugins" folder should be in your qt installation folder.
Hope it helps.
Regards,
A.Diehl
________________________________
Von: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Im Auftrag von Pat Barnhill
Gesendet: Donnerstag, 1. Januar 2009 17:26
An: qt-interest at trolltech.com
Betreff: [Qt-interest] QLabel does not display pixmap
Hi all,
I'm using Visual Studio 2008 on Vista, and I recently updated my
Qt libraries to 4.4.3 from 4.3 and now QLabels aren't displaying
pixmaps. I seem to remember having the same issue with 4.3, and the fix
was to re-compile it with some option set. Unfortunately, I can't
remember what it was and Google hasn't helped me. Any ideas on what
needs to be set or am I completely off here?
Thanks
--
Mit freundlichen Gru?en
Andreas Diehl
-------------------------- ABS -------------------------
ABS Systemberatung OHG Tel: +49 (0)7053/9290-
Hauffstr. 9 Fax: +49 (0)7053/9290-
D-75385 Bad Teinach-Zavelstein http://www.abs.org
Registergericht Calw HRA 1031
[mailto:Andreas_Diehl at abs.org]
----- Loesungen fuer den Maschinen- und Anlagenbau -----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090102/40687706/attachment.html
More information about the Qt-interest-old
mailing list