<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Techy Things &#187; qt</title>
	<atom:link href="http://tech.yipp.ca/category/qt/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.yipp.ca</link>
	<description>Just another Yipp.ca Blogs site</description>
	<lastBuildDate>Thu, 01 May 2025 18:06:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type &#039;x64&#039; conflicts with target machine type &#039;X86&#039;</title>
		<link>http://tech.yipp.ca/qt/qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86</link>
		<comments>http://tech.yipp.ca/qt/qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86/#comments</comments>
		<pubDate>Thu, 05 Oct 2017 21:05:06 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2876</guid>
		<description><![CDATA[<p>$&#62; nmake (...) moc_webfile.cpp moc_xmlparser.cpp moc_QBreakpadHandler.cpp moc_QBreakpadHttpUploader.cpp Generating Code... link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS " /MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture ='*'" /VERSION:1.21 /MANIFEST:embed /OUT:"release\Haivision Helper.exe" @C:\Users\Frank\AppData\Local\Temp\nmD970.tmp Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86/">Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<pre>$&gt; nmake
(...)
moc_webfile.cpp
moc_xmlparser.cpp
moc_QBreakpadHandler.cpp
moc_QBreakpadHttpUploader.cpp
Generating Code...
 link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "
/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
 publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture
='*'" /VERSION:1.21 /MANIFEST:embed /OUT:"release\Haivision Helper.exe" @C:\Users\Frank\AppData\Local\Temp\nmD970.tmp
Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : return code '0x458'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

</pre>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86/">Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.yipp.ca/qt/qt5network-libqt5network-dll-fatal-error-lnk1112-module-machine-type-x64-conflicts-target-machine-type-x86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error: member access into incomplete type &#039;QSslCipher&#039;</title>
		<link>http://tech.yipp.ca/qt/error-member-access-incomplete-type-qsslcipher/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-member-access-incomplete-type-qsslcipher</link>
		<comments>http://tech.yipp.ca/qt/error-member-access-incomplete-type-qsslcipher/#comments</comments>
		<pubDate>Thu, 24 Nov 2016 18:51:02 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2660</guid>
		<description><![CDATA[<p>error: member access into incomplete type 'QSslCipher' Solution Simply include this header file  #include &#60;QSslCipher&#62;</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/error-member-access-incomplete-type-qsslcipher/">error: member access into incomplete type 'QSslCipher'</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p class="p1"><span class="s1"><b>error: </b></span><span class="s2"><b>member access into incomplete type 'QSslCipher'</b></span></p>
<p class="p1">Solution</p>
<p class="p1">Simply include this header file</p>
<div class="line"> <span class="preprocessor">#include &lt;QSslCipher&gt;</span></div>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/error-member-access-incomplete-type-qsslcipher/">error: member access into incomplete type 'QSslCipher'</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.yipp.ca/qt/error-member-access-incomplete-type-qsslcipher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selected architecture i386 is not compatible with reported target architecture i386:x86-64</title>
		<link>http://tech.yipp.ca/qt/selected-architecture-i386-compatible-reported-target-architecture-i386x86-64/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=selected-architecture-i386-compatible-reported-target-architecture-i386x86-64</link>
		<comments>http://tech.yipp.ca/qt/selected-architecture-i386-compatible-reported-target-architecture-i386x86-64/#comments</comments>
		<pubDate>Tue, 23 Aug 2016 22:17:40 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2571</guid>
		<description><![CDATA[<p>qtcreator Selected architecture i386 is not compatible with reported target architecture i386:x86-64</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/selected-architecture-i386-compatible-reported-target-architecture-i386x86-64/">Selected architecture i386 is not compatible with reported target architecture i386:x86-64</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>qtcreator Selected architecture i386 is not compatible with reported target architecture i386:x86-64</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/selected-architecture-i386-compatible-reported-target-architecture-i386x86-64/">Selected architecture i386 is not compatible with reported target architecture i386:x86-64</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.yipp.ca/qt/selected-architecture-i386-compatible-reported-target-architecture-i386x86-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QObject: Cannot create children for a parent that is in a different thread.</title>
		<link>http://tech.yipp.ca/qt/qobject-create-children-parent-different-thread/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=qobject-create-children-parent-different-thread</link>
		<comments>http://tech.yipp.ca/qt/qobject-create-children-parent-different-thread/#comments</comments>
		<pubDate>Fri, 15 Apr 2016 21:20:19 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2348</guid>
		<description><![CDATA[<p>Verifying sig of "/var/folders/zq/8tgn5xxs6xjdmhky_c3x3s79yx39ym/T/HaivisionHelper_sample-outputter/checksum_7158d01e2df962079a3cda50ed56df92/sample-outputter" Going to launching... After launching... QObject: Cannot create children for a parent that is in a different thread. (Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070) QObject:&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/qobject-create-children-parent-different-thread/">QObject: Cannot create children for a parent that is in a different thread.</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<pre>Verifying sig of "/var/folders/zq/8tgn5xxs6xjdmhky_c3x3s79yx39ym/T/HaivisionHelper_sample-outputter/checksum_7158d01e2df962079a3cda50ed56df92/sample-outputter"
Going to launching...
After launching...
<span style="color: #d91e1e;">QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)

</span></pre>
<p>Trying to use moveToThread() failed with</p>
<pre><span style="color: #d91e1e;">
QObject::moveToThread: Cannot move objects with a parent
</span></pre>
<h3>So let's capitulate and create a local variable</h3>
<pre><span style="color: #d91e1e;">
    QProcess * qProcess = new QProcess();
    if (qProcess == NULL)
    {
       qDebug() << "Out of memory creating QProcess";
       HaiHelper::Logging() << "Out of memory creating QProcess";
       return;
    }
Ouch!! it still fails with :

<span style="color: #d91e1e;">

QObject: Cannot create children for a parent that is in a different thread.
(Parent is QThread(0x7f94e3e946b0), parent's thread is QThread(0x7f94e3f01e60), current thread is QThread(0x7f94e3e946b0)


I just called process->waitForFinished(100) in a loop, then deleted the QProcess object.


QObject::connect: Cannot queue arguments of type 'QProcess::ExitStatus'
(Make sure 'QProcess::ExitStatus' is registered using qRegisterMetaType().)
</span></pre>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/qobject-create-children-parent-different-thread/">QObject: Cannot create children for a parent that is in a different thread.</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.yipp.ca/qt/qobject-create-children-parent-different-thread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect output in QtProcess</title>
		<link>http://tech.yipp.ca/qt/redirect-output-qtprocess/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=redirect-output-qtprocess</link>
		<comments>http://tech.yipp.ca/qt/redirect-output-qtprocess/#comments</comments>
		<pubDate>Fri, 15 Apr 2016 17:12:00 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2346</guid>
		<description><![CDATA[<p>Method 1 - process-&#62;setStandardOutputFile() with process-&#62;start() Pro: - Easy to program Cons: - Does not work with process-&#62;startDetached(). Only works with process-&#62;start() - Only write to the file once the process exit. The file&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/redirect-output-qtprocess/">Redirect output in QtProcess</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Method 1 - process-&gt;setStandardOutputFile() with process-&gt;start()</h2>
<h3>Pro:</h3>
<p>- Easy to program</p>
<h3>Cons:</h3>
<p>- Does <strong>not</strong> work with process-&gt;startDetached(). Only works with process-&gt;start()<br />
- Only write to the file once the process exit. The file is created but stays <strong>empty</strong> as long as the process has not completed.</p>
<p>The post <a rel="nofollow" href="http://tech.yipp.ca/qt/redirect-output-qtprocess/">Redirect output in QtProcess</a> appeared first on <a rel="nofollow" href="http://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.yipp.ca/qt/redirect-output-qtprocess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
