[Qt-interest] Setting the Window Icon

O'carroll, David T david.t.o'carroll at intel.com
Wed Feb 23 10:59:25 CET 2011


That solved it. I never even thought of that since it was loading the image some of the time, a bit strange...

Thanks for all the help!
Dave

-----Original Message-----
From: qt-interest-bounces+david.t.o'carroll=intel.com at qt.nokia.com [mailto:qt-interest-bounces+david.t.o'carroll=intel.com at qt.nokia.com] On Behalf Of Konrad Rosenbaum
Sent: Tuesday, February 22, 2011 6:47 PM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Setting the Window Icon

On Tuesday 22 February 2011, O'carroll, David T wrote:
> QApplication::setWindowIcon(QIcon(image));

Are you calling this before or after you create your first window? It should be done before.


	Konrad
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.



More information about the Qt-interest-old mailing list