<?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[How do I make a class using Qt for a different environment?]]></title><description><![CDATA[<p dir="auto">Hi!<br />
I made a class with dialog in Qt for MSVC.<br />
But in another environment without QApplication a (argc, argv) in main, this doesn't work.<br />
Please tell me how QApplication is better attached to the class to solve such difficulties?<br />
It's not works:</p>
<pre><code>    char *argv1{"0x1ee99290"};
    QApplication qq(1,argv1);
</code></pre>
]]></description><link>https://forum.qt.io/topic/110688/how-do-i-make-a-class-using-qt-for-a-different-environment</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 22:28:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110688.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jan 2020 11:48:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I make a class using Qt for a different environment? on Wed, 15 Jan 2020 12:28:03 GMT]]></title><description><![CDATA[<pre><code>int argc1 = 1;
char *argv1[]{"0x1ee99290"};
QApplication qq(argc1, argv1);
</code></pre>
]]></description><link>https://forum.qt.io/post/572447</link><guid isPermaLink="true">https://forum.qt.io/post/572447</guid><dc:creator><![CDATA[semlanik]]></dc:creator><pubDate>Wed, 15 Jan 2020 12:28:03 GMT</pubDate></item></channel></rss>