<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QPixmap Initialization]]></title><description><![CDATA[<p dir="auto">hello, How  can i initialise a QPixmap,  that i declared in my header file, in my constructor with a Qvariant.</p>
<p dir="auto">The QVariantis what i get when i access a picture in the registry.</p>
<p dir="auto">I changed managed to change the QVariant into a QPixmap but i do not know how to use it to initialize the QPixmap in my header file.</p>
<p dir="auto">The reason for the Global QPixmap is that i am going to use it in various methods.</p>
]]></description><link>https://forum.qt.io/topic/47377/qpixmap-initialization</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 16:05:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/47377.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2014 18:57:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QPixmap Initialization on Fri, 24 Oct 2014 16:36:30 GMT]]></title><description><![CDATA[<p dir="auto">I managed to find a way around it! :-)<br />
I was using QLabel to display the picture, but for my project comes QLabel to its limits. I am now using QGraphicsView to continue my project.</p>
]]></description><link>https://forum.qt.io/post/248919</link><guid isPermaLink="true">https://forum.qt.io/post/248919</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 24 Oct 2014 16:36:30 GMT</pubDate></item><item><title><![CDATA[Reply to QPixmap Initialization on Thu, 23 Oct 2014 19:24:55 GMT]]></title><description><![CDATA[<p dir="auto">You assign a value to it just like a simple variable.  Perhaps you need to elaborate on what you are doing and how it fails.</p>
]]></description><link>https://forum.qt.io/post/248823</link><guid isPermaLink="true">https://forum.qt.io/post/248823</guid><dc:creator><![CDATA[ChrisW67]]></dc:creator><pubDate>Thu, 23 Oct 2014 19:24:55 GMT</pubDate></item></channel></rss>