<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

	<channel>

	<title>Qt DevNet forums (all)</title>
	<link>http://qt-project.org/forums</link>
	<description>RSS feed for latest posts in all forums on Qt Project</description>
	<copyright>Copyright 2013 Qt Project</copyright>
	<docs>http://www.rssboard.org/rss-specification</docs>
	<generator>ExpressionEngine v2.3.1 http://expressionengine.com/</generator>
	<lastBuildDate>Wed, 22 May 2013 21:40:06 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/all_forums" rel="self" type="application/rss+xml" />


	
        <item>
            <title>Manual changes in .pro&#45;file cause qmake to throw a &quot;Parse Error&quot;...</title>
            <link>http://qt-project.org/forums/viewthread/28053</link>
            <author>Joerg Pauly</author>
            <description><![CDATA[The title says it:

	If I edited any .pro&#45;file the next time calling qmake ends with an error saying &#8220;Parse error&#8221;.
Qt&#45;Creator then shows the first line in the file as the source of that error, because there is no line information in this error message.

	It makes no difference what I edited: even adding a white space and removing it causes this behavior. The only way to get qmake working again is to to reject all changes i.e. by recalling svn&#8217;s repository copy.
Also it makes no difference what Qt version on which platform I use: it shows up on 4.8.4 for MinGW and also on 4.8.1 for Linux x64.

	I&#8217;m a little confused about that, so does anyone know a solution or a workaround?

	Thank you all in advance
Joerg]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28053</guid>
            <pubDate>Wed, 22 May 2013 20:06:22 GMT</pubDate>
        </item>
	
        <item>
            <title>show / hide QFrame ouside main thread</title>
            <link>http://qt-project.org/forums/viewthread/28052</link>
            <author>ritschratsch</author>
            <description><![CDATA[Hiho,
I&#8217;m programming a game and want to display a menu if the player hits F1 and hide the menu again if Esc is hitten.
The problem is that the game crashes as soon as I invoke menuFrame&#45;&amp;gt;show() or setShown(true).
I think the reason is that I call the function in the game thread and not in the mainthread.
Since I only have two choices:
  Call the function in the game mainloop if a variable gets true
or
  from a slot bound on the F1 key

	I dont know how to show or hide this frame.

	In some Posts on various forums I read that I have to call postevent for manipulate widgets outside the main thread.
The problem is that I don&#8217;t know how to do that, and I didn&#8217;t find any examples on showing / hiding widgets with postevent.

	Can somebody point me to the right direction or maybe provide a little code snippet so that I know how to use postevent for showing / hiding a widget?

	Thanks in advence and have a nice day
Ritschratsch]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28052</guid>
            <pubDate>Wed, 22 May 2013 19:49:27 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt 5 Port &#45; An Introduction to Design Patterns in C++ with Qt(2nd Edition)</title>
            <link>http://qt-project.org/forums/viewthread/28051</link>
            <author>bruceoutdoors</author>
            <description><![CDATA[Hey all! Currently there are no books written on Qt 5 yet. BUT I am learning Qt 5 with a Qt 4 book, An Introduction to Design Patterns in C++ with Qt [amazon.com] and what I learned is that a lot of the material there is still very relevant. We shouldn&#8217;t discard it as obsolete simply because it is written in Qt 4. However, porting the source code [ics.com] is tedious, so I decided I would post up the port in github!! :D

	https://github.com/bruceoutdoors/Intro&#45;Design&#45;Patterns&#45;Cpp&#45;Qt5

	I did this after spending hours trying the port the source files from chapter 7(on dynamic libaries). It&#8217;s tiresome, so I could save ppl a lot of time for not needing to port it again.

	The port is not finished, however I hope ppl here can join me(contribute code and help others learn as well) and pick up this book(which is an awesome book!!). As if this writing I&#8217;m halfway through chapter 8.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28051</guid>
            <pubDate>Wed, 22 May 2013 19:46:54 GMT</pubDate>
        </item>
	
        <item>
            <title>QWebPage/QWebFrame Slowing Down GUI</title>
            <link>http://qt-project.org/forums/viewthread/28050</link>
            <author>kbarresi</author>
            <description><![CDATA[Hi

	I&#8217;m trying to do some preloading of web pages behind the scenes, and then cache everything to display later. 

	I tried directly creating a QWebPage without displaying it, but that caused some pretty bad GUI slowdowns. I did some investigations, and I heard problems where people were having blocking issues with the QNetworkAccessManager inside the QWebFrame. To take care of this, I put the network stuff inside a thread.

	However, the blocking continues. I&#8217;ve narrowed it down to this line, where pReply is the QNetworkReply from the networking thread:
this&#45;&amp;gt;page&#45;&amp;gt;mainFrame&#40;&#41;&#45;&amp;gt;setHtml&#40;pReply&#45;&amp;gt;readAll&#40;&#41;&#41;;


	I do not believe setHtml is blocking, but it definitely seems to be messing with the GUI&#8217;s responsiveness for a solid 1&#45;1.5 seconds. I would move the page into another thread, but we all know that wouldn&#8217;t work.

	Any ideas? I&#8217;m thoroughly stumped]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28050</guid>
            <pubDate>Wed, 22 May 2013 19:02:43 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt 4.8.4 on MAC with openssl 0.9.8 Crash</title>
            <link>http://qt-project.org/forums/viewthread/28049</link>
            <author>gpazo</author>
            <description><![CDATA[We have an application that uses SSL to connect to a PostgreSQL (8.4) database server, when SSL is enabled on the server the MAC client specifically is unable to connect. This issue began after upgrading to Qt 4.8.4 from Qt 4.6.3 and the client seems to work perfectly without SSL enabled on the server but I&#8217;d like to get to the bottom of the situation.

	Qt Config: ./configure &#45;nomake demos &#45;nomake examples &#45;qt&#45;zlib &#45;qt&#45;libtiff &#45;qt&#45;libmng &#45;qt&#45;libjpeg &#45;qt&#45;libpng &#45;openssl &#45;I /Library/postgresql/include &#45;L /Library/postgresql/lib &#45;prefix /Library/qt &#45;plugin&#45;sql&#45;psql &#45;plugin&#45;sql&#45;odbc &#45;plugin&#45;sql&#45;sqlite &#45;arch x86 &#45;prefix&#45;install &#45;confirm&#45;license &#45;opensource

	Crash Log:
http://pastebin.com/5eZwVqik

	Error Context in terminal:
http://pastebin.com/j6zkSWkB

	Most of the time the application will crash immediately upon starting up, leaving very little room for debugging.  Does anyone have any suggestions or known&#45;issues with SSL and Qt 4.8?

	Thank you, 
Greg]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28049</guid>
            <pubDate>Wed, 22 May 2013 18:07:35 GMT</pubDate>
        </item>
	
        <item>
            <title>Drag and drop QDockWidget to QTabWidget</title>
            <link>http://qt-project.org/forums/viewthread/28048</link>
            <author>trickkx</author>
            <description><![CDATA[Hello,

	I have a QMainWindow with several docked QDockWidgets and a QTabWidget as the central widget of the QMainWindow. The docking/undocking and re&#45;arranging of the dockable widgets works without a problem.

	I want to add functionality to drag and drop a QDockWidget to the QTabWidget, adding the QDockWidget as a new tab to the QTabWidget and removing the source QDockWidget.

	The QMainWindow/QDockWidget drag and drop implementation seems to different from the default drag and drop implementation described in http://qt&#45;project.org/doc/qt&#45;4.8/dnd.html [qt&#45;project.org].

	I am able to drag and drop a QDockWidget to the QTabWidget using QDrag&#45;&amp;gt;exec&#40;&#41; etc., but the QMainWindow/QDockWidget docking is not functional during QDrag&#45;&amp;gt;exec&#40;&#41;.

	What are my options to implement the desired drag and drop behavior?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28048</guid>
            <pubDate>Wed, 22 May 2013 17:18:24 GMT</pubDate>
        </item>
	
        <item>
            <title>QT Creator 2.4.1 &#45; QT 4.7.4With GCC 4.8.0?</title>
            <link>http://qt-project.org/forums/viewthread/28047</link>
            <author>demonofnight</author>
            <description><![CDATA[Hi,

	I installed in my mac the gcc 4.8.0.
The default folder is the /opt/gcc&#45;4.8.0/
So i changed my path to load the gcc&#45;4.8.0 first.
Now if i do the gcc &#45;v it returns the 4.8.0 and no the 4.2.1.
But, if i compile using the QT Creator it uses the 4.2.1.
How i know?
I added a &#45;v option.
In the Compile Output:

	Using built&#45;in specs.
Target: i686&#45;apple&#45;darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42&#45;2335.15~25/src/configure &#45;&#45;disable&#45;checking &#45;&#45;enable&#45;werror &#45;&#45;prefix=/Developer/usr/llvm&#45;gcc&#45;4.2 &#45;&#45;mandir=/share/man &#45;&#45;enable&#45;languages=c,objc,c++,obj&#45;c++ &#45;&#45;program&#45;prefix=llvm&#45; &#45;&#45;program&#45;transform&#45;name=/^&#91;cg&#93;&#91;^.&#45;&#93;*$/s/$/&#45;4.2/ &#45;&#45;with&#45;slibdir=/usr/lib &#45;&#45;build=i686&#45;apple&#45;darwin11 &#45;&#45;enable&#45;llvm=/private/var/tmp/llvmgcc42/llvmgcc42&#45;2335.15~25/dst&#45;llvmCore/Developer/usr/local &#45;&#45;program&#45;prefix=i686&#45;apple&#45;darwin11&#45; &#45;&#45;host=x86_64&#45;apple&#45;darwin11 &#45;&#45;target=i686&#45;apple&#45;darwin11 &#45;&#45;with&#45;gxx&#45;include&#45;dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 &#40;Based on Apple Inc. build 5658&#41; &#40;LLVM build 2335.15.00&#41;


	How i force the QT to use the GCC in the new place, i tried to create a new tool chain (Manual)
But no luck.
It seems to be a simple thing to do but i tried a lot of thing just to dev using C++11.

	How can i do that?

	Regards]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28047</guid>
            <pubDate>Wed, 22 May 2013 17:09:50 GMT</pubDate>
        </item>
	
        <item>
            <title>How to access other QML elements ?</title>
            <link>http://qt-project.org/forums/viewthread/28046</link>
            <author>SlimIT</author>
            <description><![CDATA[Hi,

	is there a documentation or a tip to simple access other elements ID ?

	because in my case sometime it works ( i think where there is a hierarchical relation ) and sometimes it doesn&#8217;t work.

	How to perform connections between to components that each one id is not accessible for the other ?

	Sorry for my english.

	Thank you.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28046</guid>
            <pubDate>Wed, 22 May 2013 17:07:44 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt::MatchWildcard issue</title>
            <link>http://qt-project.org/forums/viewthread/28045</link>
            <author>fdelia</author>
            <description><![CDATA[Hello everyone,
I am trying to find a match for a particular string with a wildcard character in a QTree , but the values that I find are not what I would expect. For example, I am looking for &#8216;_A&#8217;, all the strings that end with A, but the system is currently returning everything that has an A that is not the first letter of the word. I have a QAbstractItemModel and I am calling the &#8216;match&#8217; function with flags Qt::MatchFlags( Qt::MatchWildcard | Qt::MatchRecursive). Am I using the wrong function/flags or doing something else wrong?

	Thank you in advance for the help!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28045</guid>
            <pubDate>Wed, 22 May 2013 16:26:03 GMT</pubDate>
        </item>
	
        <item>
            <title>QWebView. How to make a simple POST request.</title>
            <link>http://qt-project.org/forums/viewthread/28044</link>
            <author>unmanner</author>
            <description><![CDATA[Hello!

	I tried to make a simple POST request using QWebView, but my PHP side saying that it is a GET :(

	My QT code:
ui&#45;&amp;gt;mainWebViewInfoWnd&#45;&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; load&#40;QNetworkRequest&#40;QUrl&#40;QString&#40;&amp;quot;http://176.111.***.93/info&amp;quot;&#41;&#41;&#41;,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QNetworkAccessManager::PostOperation,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QByteArray&#40;&amp;quot;key=value&amp;quot;&#41;&#41;;


	My PHP code:
&amp;lt;?php
if &#40;$_SERVER&#91;&apos;REQUEST_METHOD&apos;&#93; == &apos;POST&apos;&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; echo &apos;POST :)&apos;;
&#125; else &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; echo &apos;GET :(&apos;;
&#125;
?&amp;gt;


	As a result in my QWebView frame I got: &#8220;GET :(&#8221;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28044</guid>
            <pubDate>Wed, 22 May 2013 15:46:49 GMT</pubDate>
        </item>
	
        <item>
            <title>Help using Graphics Scene &quot;rubber&#45;band&quot; selection...</title>
            <link>http://qt-project.org/forums/viewthread/28043</link>
            <author>rivimey</author>
            <description><![CDATA[I have a Scene that I can export as an SVG file fairly happily&#8230; but a feature I would like to include is to rubber&#45;band select a region and export that &#8211; and the export is clipped to that region. Is there a way to achieve this? 

	The issues I am concerned about are:
	
		will items that are only partially within the region be selected at all;
		how can I clip such partial items to the region boundary?
	

	Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28043</guid>
            <pubDate>Wed, 22 May 2013 14:47:12 GMT</pubDate>
        </item>
	
        <item>
            <title>Linux Audio Mess and Qt</title>
            <link>http://qt-project.org/forums/viewthread/28042</link>
            <author>rykomick</author>
            <description><![CDATA[Everyone who had to deal with audio in Linux knows that it is a real mess. Now it seems that this mess has infected Qt Audio module on Linux.

	I work on an audio player based on libsndfile and QT Audio. While on Windows there are no problems with underlying audio system I have massive problems on Linux. I&#8217;m using Debian wheezy and it looks like it comes with pulseaudio QT plugin only. No way to use ALSA directly. I understand this might be a problem of the distribution but can someone tell me what is the policy from QT side about dealing with this stuff? Is it wanted by Qt that Mutimedia support is handled by plugins only? If so, why isn&#8217;t there an ALSA plugin? There are implementations of QAudio classes for ALSA in the QT source code, why are they not included as a plugin?

	I personally don&#8217;t like pulseaudio and don&#8217;t want users od my application to be forced to install it. BTW I also don&#8217;t like ALSA because of it&#8217;s horrible almost non existing documentation and the fact you never know exactly what happens inside of it. It is ridiculues that ALSA guys are not able to make a good documentation after 15 years of development! The only good sound APIs on Linux are OSS and JACK in my opinion. I&#8217;d love to have JACK support in QT Multimedia, are there any plans to support it?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28042</guid>
            <pubDate>Wed, 22 May 2013 14:41:16 GMT</pubDate>
        </item>
	
        <item>
            <title>QApplication::focusWidget() and QApplication::focusObject()</title>
            <link>http://qt-project.org/forums/viewthread/28041</link>
            <author>yanner</author>
            <description><![CDATA[What&#8217;s the difference other than the return type?

	In addition, in my app the focusWidget() is returning 0 and focusObject() is returning an object to QML textinput. How can that be that both are not returning a pointer? I am using Qt5 and earlier in Qt4.8 focusWidget() used to work OK. I am trying to use QApplication::sendEvent with focusWidget() return value as the first parameter but it crashes because focusWidget() returns 0. If I use focusObject() then the keyEvent is not delivered.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28041</guid>
            <pubDate>Wed, 22 May 2013 14:40:53 GMT</pubDate>
        </item>
	
        <item>
            <title>Build on Mac OS X 10.8 for targets &gt;= 10.6 (Snow Leopard)</title>
            <link>http://qt-project.org/forums/viewthread/28040</link>
            <author>cle1109</author>
            <description><![CDATA[Hello,

	I want to build my Qt application on Mac OS X 10.8. However, I want my application to run on Mac OS X 10.6 (Snow Leopard) or higher. My .pro file contains the lines

	QMAKE_CXXFLAGS_X86_64 += &#45;mmacosx&#45;version&#45;min=10.6
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6


	However, my application only runs on 10.8 and not on 10.6, where it crashes immediately (I haven&#8217;t tried 10.7 yet).

	I&#8217;m using macdeployqt to create an application bundle, but I do get an error (although the .dmg is built):
ERROR: &amp;quot;install_name_tool: changing install names or rpaths can&apos;t be redone for: sigviewer.app/Contents/Frameworks//libtiff.5.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use &#45;headerpad or &#45;headerpad_max_install_names)
&amp;quot; 
ERROR: &amp;quot;&amp;quot; 
ERROR: &amp;quot;install_name_tool: changing install names or rpaths can&apos;t be redone for: sigviewer.app/Contents/Frameworks//libtiff.5.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use &#45;headerpad or &#45;headerpad_max_install_names)
&amp;quot; 
ERROR: &amp;quot;&amp;quot;


	I&#8217;d appreciate any hints on how to build my app for 10.6. The source code is available at: http://sourceforge.net/projects/sigviewer/files/0.5.2/sigviewer&#45;0.5.2&#45;src.tar.gz/download
To build the app, you need to extract the following file into the source tree:
http://sourceforge.net/projects/sigviewer/files/0.5.2/external&#45;0.5.2&#45;macx.zip/download

	Thanks,
Clemens]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28040</guid>
            <pubDate>Wed, 22 May 2013 14:31:51 GMT</pubDate>
        </item>
	
        <item>
            <title>Show html tags in tableview</title>
            <link>http://qt-project.org/forums/viewthread/28039</link>
            <author>deepakkakkeel</author>
            <description><![CDATA[Hi,

	May i know how can i display html tags in a  tableview.
For example: 
I have an entry in my database &amp;lt;a href=&#8220;goo&#8221;&amp;gt;hello&amp;lt;/a&amp;gt;.. When i get values from the database and put it in my tableview. The cell must have the value   &#8220;hello&#8221;  as an hyperlink.

	Can any one please help me.
Thanks
Deepak]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28039</guid>
            <pubDate>Wed, 22 May 2013 14:16:47 GMT</pubDate>
        </item>
	
        <item>
            <title>Not seeing Graphics Scene Hover events</title>
            <link>http://qt-project.org/forums/viewthread/28038</link>
            <author>rivimey</author>
            <description><![CDATA[I have an app that uses a Graphics Scene and I want to use hover events to report info about the objects in the scene. I can enable hover events on the scene items that are direct parents of the scene itself, but I can&#8217;t seem to get events from the children of those items&#8230; is this possible?

	The direct parents are Item Group objects that contain a bunch of children, and for the purposes of hover detection I want them to be ignored.

	The group children are the things I want to know about&#8230; but they never get noticed.

	Any ideas? I can provide more info if needed.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28038</guid>
            <pubDate>Wed, 22 May 2013 14:14:48 GMT</pubDate>
        </item>
	
        <item>
            <title>The problem with exception handle in QML 2 plugin</title>
            <link>http://qt-project.org/forums/viewthread/28037</link>
            <author>shav</author>
            <description><![CDATA[Hi everyone!

	I have the QML 2 plugin with method which crashed. I try to add the try..catch block for method but the catch section not called when method generating exception this is how to look my method:
QString MdlLogParser::description&#40;QString prefix&#41;
&#123;
&amp;nbsp; &amp;nbsp; try
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QString res = prefix + &amp;quot;MdlLogParser (Object)\n&amp;quot;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QString newPrefix = &amp;quot;| &amp;nbsp; &amp;quot;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QString subPrefix = prefix + newPrefix;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;logContent = %1\n&amp;quot;&#41;.arg&#40;m_logContent&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;logFilePath = %1\n&amp;quot;&#41;.arg&#40;m_logFilePath&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;version = %1\n&amp;quot;&#41;.arg&#40;m_version&#41;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&#40;m_loggerInfo != NULL&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_loggerInfo&#45;&amp;gt;description&#40;subPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;loggerInfo = NULL\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&#40;m_deviceInfo != NULL&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_deviceInfo&#45;&amp;gt;description&#40;subPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;deviceInfo = NULL\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&#40;m_appInfo != NULL&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_appInfo&#45;&amp;gt;description&#40;subPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;appInfo = NULL\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_crashLog&#45;&amp;gt;description&#40;subPrefix&#41;&#41;; //generating exception because m_crashLog is NULL. I fix this when add the if(m_crashLog == NULL). The method description(subPrefix) for object m_crashLog have try...catch too.
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&#40;m_error != NULL&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_error&#45;&amp;gt;description&#40;subPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;error = NULL\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;methods (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogMethod* method, m_methods&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;method&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;methods\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;classes (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogClass* classObj, m_classes&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;classObj&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;classes\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;messages (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogMessage* msg, m_messages&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;msg&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;messages\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;systemMessage (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogMessage* msg, m_systemMessage&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;msg&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;systemMessage\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;images (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogImage* img, m_images&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;img&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;images\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;sessions (Array)\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach&#40;MdlLogSession* session, m_sessions&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;session&#45;&amp;gt;description&#40;subPrefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;sessions\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if&#40;m_methodsInformer != NULL&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;m_methodsInformer&#45;&amp;gt;description&#40;prefix + newPrefix&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + newPrefix + QString&#40;&amp;quot;methodsInformer = NULL\n&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res.append&#40;prefix + &amp;quot;MdlLogParser\n&amp;quot;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return res;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; catch&#40;std::exception&amp;amp; exception&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qDebug&#40;&#41;&amp;lt;&amp;lt;&amp;quot;Exception: &amp;quot;&amp;lt;&amp;lt;exception.what&#40;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return prefix+&amp;quot;NULL\n&amp;quot;;
&amp;nbsp; &amp;nbsp; &#125;
&#125;


	Can you tell me what I do wrong? Thanks for any help!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28037</guid>
            <pubDate>Wed, 22 May 2013 14:08:09 GMT</pubDate>
        </item>
	
        <item>
            <title>[SOLVED] PyQt button with an image on it</title>
            <link>http://qt-project.org/forums/viewthread/28036</link>
            <author>swilliams2</author>
            <description><![CDATA[I&#8217;m making a button that sends an email, it&#8217;s all working, but I want to change the size of the button and put an image on it, what lines would I add to my code and where? =]

	from PyQt4 import QtGui, QtCore
&amp;nbsp;
import smtplib
&amp;nbsp;
from email.mime.text import MIMEText
&amp;nbsp;
class Window&#40;QtGui.QWidget&#41;:
&amp;nbsp; &amp;nbsp; def __init__&#40;self&#41;:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QtGui.QWidget.__init__&#40;self&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.button = QtGui.QPushButton&#40;&apos;&apos;, self&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.button.clicked.connect&#40;self.handleButton&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout = QtGui.QVBoxLayout&#40;self&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.addWidget&#40;self.button&#41;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; def handleButton&#40;self&#41;:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fp = open&#40;&apos;Firetruck.txt&apos;, &apos;r&apos;&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg = MIMEText&#40;fp.read&#40;&#41;&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fp.close&#40;&#41;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg&#91;&apos;Subject&apos;&#93; = &apos;Subject&apos;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg&#91;&apos;From&apos;&#93; = &apos;ajames@brecon&#45;hs.powys.sch.uk&apos;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msg&#91;&apos;To&apos;&#93; = &apos;swilliams@brecon&#45;hs.powys.sch.uk&apos;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s = smtplib.SMTP&#40;&apos;BHS&#45;MAIL&apos;&#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s.send_message&#40;msg&#41;
&amp;nbsp;
if __name__ == &apos;__main__&apos;:
&amp;nbsp;
&amp;nbsp; &amp;nbsp; import sys
&amp;nbsp; &amp;nbsp; app = QtGui.QApplication&#40;sys.argv&#41;
&amp;nbsp; &amp;nbsp; window = Window&#40;&#41;
&amp;nbsp; &amp;nbsp; window.show&#40;&#41;
&amp;nbsp; &amp;nbsp; sys.exit&#40;app.exec_&#40;&#41;&#41;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28036</guid>
            <pubDate>Wed, 22 May 2013 13:49:37 GMT</pubDate>
        </item>
	
        <item>
            <title>C++ Qt BlackBerry App Developer</title>
            <link>http://qt-project.org/forums/viewthread/28035</link>
            <author>Tanya1905</author>
            <description><![CDATA[PixelMags

	C++ Blackberry Programmer

	Job description

	Our Company: 
PixelMags is a dynamic and evolving company delivering digital publishing to mobile devices. Our software development studios are located in the Mansion House at Wrest Park, Bedfordshire and houses our small software development teams focusing on mobile, server and desktop.

	About the job:
We’re looking for an experienced C++ developer to join a small, focused team to create mobile applications using Qt. This new project will recreate the reading experience of our existing digital magazine apps on other mobile platforms. You’ll be working very closely with BlackBerry and their new platform, our UX designers &amp;amp; server teams, to produce high performance software delivering an amazing user experience.

	We’re looking for:
C++ experience using OOP
Use of design patterns, MVC, Qt, Agile (TDD)
Experienced developing GUI application architecture (beneficial)
Knowledge of HTTP, JSON, encryption and rich media display (beneficial)
Likely posses a degree in Computer Science
Works well in a small team
Pay &amp;amp; Conditions:
Full time position based in our Bedfordshire office, UK
Salary £26,000 – £36,000 dependent on experience
28 days holiday including bank holidays
Working in a great environment with beautiful surroundings
Free lunch

	Please find a link to our website and company video below:
http://www.pixelmags.com

	We would like to have any applicants forward their CVs to jobs@pixelmags.com]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28035</guid>
            <pubDate>Wed, 22 May 2013 11:28:25 GMT</pubDate>
        </item>
	
        <item>
            <title>video tag handler in qt webkit</title>
            <link>http://qt-project.org/forums/viewthread/28034</link>
            <author>sarahjohn</author>
            <description><![CDATA[Where is video tag in HTML5 being handled in qt 4.8 webkit(version 2.2)?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28034</guid>
            <pubDate>Wed, 22 May 2013 11:06:21 GMT</pubDate>
        </item>
	
        <item>
            <title>QHostAddress, documentation clear() != setAddress(&quot;0.0.0.0&quot;)</title>
            <link>http://qt-project.org/forums/viewthread/28033</link>
            <author>Kiichiro</author>
            <description><![CDATA[In documentation says:

	
		
void QHostAddress::clear()
Sets the host address to 0.0.0.0.
	

	but in real code:
QHostAddress addrFoo, addrBar;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; addrFoo.clear&#40;&#41;;
&amp;nbsp; &amp;nbsp; addrBar.setAddress&#40;&amp;quot;0.0.0.0&amp;quot;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; if &#40;addrFoo == addrBar&#41; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qDebug&#40;&#41; &amp;lt;&amp;lt; &amp;quot;Foo == Bar&amp;quot;;
&amp;nbsp; &amp;nbsp; &#125; else &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; qDebug&#40;&#41; &amp;lt;&amp;lt; &amp;quot;Foo != Bar&amp;quot;;
&amp;nbsp; &amp;nbsp; &#125;


	Will be output &#8220;Foo != Bar&#8221;.
Because &#8220;clear()&#8221; method sets the host address to 0.0.0.0 or :: and set protocol to QAbstractSocket::UnknownNetworkLayerProtocol
In documentation says nothing about protocol.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28033</guid>
            <pubDate>Wed, 22 May 2013 11:05:53 GMT</pubDate>
        </item>
	
        <item>
            <title>Controlling the margin/Padding in a QGridLayout</title>
            <link>http://qt-project.org/forums/viewthread/28032</link>
            <author>musimbate</author>
            <description><![CDATA[Hi all,
I am trying to stack a bunch of Toolbuttons inside a Widget so I can insert the widget in a toolbar.But I am getting margins or paddings that are not desired.I have tried setMargin on the Layout to no avail .Also I have tried to give the widget a fixed height and they unacceptably shrunk!Following is my code:
QAction * a = fileMenu&#45;&amp;gt;addAction&#40;&amp;quot;AAA&amp;quot;&#41;;QToolButton * but1=new QToolButton&#40;this&#41;;
&amp;nbsp; &amp;nbsp;but1&#45;&amp;gt;addAction&#40;a&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;QToolButton * but2=new QToolButton&#40;this&#41;;
&amp;nbsp; &amp;nbsp;but1&#45;&amp;gt;addAction&#40;b&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;QToolButton * but3=new QToolButton&#40;this&#41;;
&amp;nbsp; &amp;nbsp;but1&#45;&amp;gt;addAction&#40;c&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;QToolButton * but4=new QToolButton&#40;this&#41;;
&amp;nbsp; &amp;nbsp;but1&#45;&amp;gt;addAction&#40;d&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;QGridLayout *mLayout=new QGridLayout&#40;this&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;mLayout&#45;&amp;gt;addWidget&#40;but1,0,0&#41;;
&amp;nbsp; &amp;nbsp;mLayout&#45;&amp;gt;addWidget&#40;but2,0,1&#41;;
&amp;nbsp; &amp;nbsp;mLayout&#45;&amp;gt;addWidget&#40;but3,1,0&#41;;
&amp;nbsp; &amp;nbsp;mLayout&#45;&amp;gt;addWidget&#40;but4,1,1&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;QWidget *mWidget=new QWidget&#40;this&#41;;
&amp;nbsp; &amp;nbsp;mWidget&#45;&amp;gt;setLayout&#40;mLayout&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;ui&#45;&amp;gt;mainToolBar&#45;&amp;gt;insertWidget&#40;a,mWidget&#41;;
&amp;nbsp; &amp;nbsp;ui&#45;&amp;gt;mainToolBar&#45;&amp;gt;setMovable&#40;false&#41;;


	Any help would be appreciated.Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28032</guid>
            <pubDate>Wed, 22 May 2013 10:53:23 GMT</pubDate>
        </item>
	
        <item>
            <title>How to set the backgroud color &amp; font colr for LineEdit ToolTip</title>
            <link>http://qt-project.org/forums/viewthread/28031</link>
            <author>Adi</author>
            <description><![CDATA[Hi

	How to set the backgroud color &amp;amp; font colr for LineEdit ToolTip?

	I tried like this
lineEdit&#45;&amp;gt;setCursorPosition(nPos);
QToolTip::showText(lineEdit&#45;&amp;gt;mapToGlobal(QPoint()), &#8220;HI&#8221;);
QPalette palette = QToolTip::palette();  
palette.setColor(QPalette::ToolTipBase, Qt::yellow);  
palette.setColor(QPalette::ToolTipText, Qt::red); 
QToolTip::setPalette(palette);
QToolTip::setFont(lineEdit&#45;&amp;gt;font());

	This ois working but it is applying colr for all tooltips.I want it to beapplied only for selected LineEdits.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28031</guid>
            <pubDate>Wed, 22 May 2013 10:46:03 GMT</pubDate>
        </item>
	
        <item>
            <title>program data locations</title>
            <link>http://qt-project.org/forums/viewthread/28030</link>
            <author>GrahamL</author>
            <description><![CDATA[Hi
I am developing a desktop application and need to find somewhere to store persistent data. This data needs to be shared with all users of the pc upon which the application is stored.
I have looked at QStandardPaths and the DataLocation, but when I use 
QStringList sl = QStandardPaths::standardLocations&#40;QStandardPaths::DataLocation&#41;;

I get 2 paths one to the users AppData/Local folder with the organisation and application names appended and one to C:/ProgramData (again with the names appended)

	Now I know that I need to user the second one, 
	
		but am I guaranteed that the this will always be in the second position
		will it work cross platform?
		is there a better way
	

	Thanks for you time]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28030</guid>
            <pubDate>Wed, 22 May 2013 10:06:47 GMT</pubDate>
        </item>
	
        <item>
            <title>QProcess::terminate can not stop Windows console application with SetConsoleCtrlHandler</title>
            <link>http://qt-project.org/forums/viewthread/28029</link>
            <author>skorodum</author>
            <description><![CDATA[I try to control Windows non&#45;Qt console application from Qt desktop application.
Qt documentation says, that on Windows QProcess::terminate posts WM_CLOSE message. MSDN says that  WM_CLOSE message is translated to CTRL_CLOSE_EVENT for console application.
So, in console application I call WinAPI function SetConsoleCtrlHandler, after that the application successfully intercept events like CTRL&#45;C press (CTRL_C_EVENT) and Alt&#45;F4 press (CTRL_CLOSE_EVENT).
From Qt application I successfully start console application using QProcess. Then I wait for application started using waitForStarted and try to gentle finish him using QProcess::terminate method, but nothing happens. In the same time QProcess kill works as expected.

	What should I change in the console application or Qt application to receive event from QProcess::terminate?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28029</guid>
            <pubDate>Wed, 22 May 2013 10:03:22 GMT</pubDate>
        </item>
	
        <item>
            <title>QT5 and tslib</title>
            <link>http://qt-project.org/forums/viewthread/28028</link>
            <author>dvosp</author>
            <description><![CDATA[I have successfully built and run a QtQuick 1 application on my hardware.  The problem is that I cannot get the touch screen to work.  I have built the tslib plugin (with debug code enabled).  When I run the app with ./qml&#45;app &#45;platform linuxfb &#45;plugin Tslib it executes and if I touch the touch screen I can see valid coords being reported by the tslib plugin:

	handleMouseEvent 430 164 1 614966
handleMouseEvent 461 162 1 614966
handleMouseEvent 481 160 1 628606
handleMouseEvent 512 157 1 635419
handleMouseEvent 543 154 1 642244

	The problem is nothing happens, the app does not see mouse events.

	Is QWindowSystemInterface::handleMouseEvent not working?

	Pierre]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28028</guid>
            <pubDate>Wed, 22 May 2013 10:00:35 GMT</pubDate>
        </item>
	
        <item>
            <title>QCheckBox background color?</title>
            <link>http://qt-project.org/forums/viewthread/28027</link>
            <author>Sam</author>
            <description><![CDATA[How to change the background color of the box/frame (default white ) in QCheckBox. I tried to use stylesheets by setting the background&#45;color but it changes the label&#8217;s background color. Am I missing something ?

	Thanks,]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28027</guid>
            <pubDate>Wed, 22 May 2013 09:34:01 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt 5.0.1 QWebView. Проблема с отображением JPG</title>
            <link>http://qt-project.org/forums/viewthread/28026</link>
            <author>D.Lowl</author>
            <description><![CDATA[Есть приложение с qtWebKit на Win. На девелоперской машине все работает целиком. Но на чистой XP и 7 не отображаются jpg&#8217;и. Папка /imageformats с плагинами лежит в директории с программой. vcredist на всех машинах естественно стоит. В чем может быть проблема?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28026</guid>
            <pubDate>Wed, 22 May 2013 09:21:51 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt 5.0.1 QWebView. Problem with showing JPGs</title>
            <link>http://qt-project.org/forums/viewthread/28025</link>
            <author>D.Lowl</author>
            <description><![CDATA[I have QtWebKit application on Windows. Everything works properly, but the kitchen sink&#8230; I have no idea why it doesn&#8217;t show JPGs. I have /imageformats directory with plugins in the root directory. It works okay on my dev. machine, but on clean XP and 7 it works without JPGs. I also have vcredist on every machine of course. What&#8217;s wrong with that?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28025</guid>
            <pubDate>Wed, 22 May 2013 09:18:39 GMT</pubDate>
        </item>
	
        <item>
            <title>[Solved] using customized QPushButton on QWizard</title>
            <link>http://qt-project.org/forums/viewthread/28024</link>
            <author>gor kogalo</author>
            <description><![CDATA[Hello every one. I want to use a QPushButton on QWizardPage. I have implemented the qwizard pages and added QPushButton as follows in the code bellow. When I click the button, the signal and slot connection does not work. Any idea on how to go around it? Thanks in advance for your response.

	class DatabasePage : public QWizardPage
&#123;
&amp;nbsp;
public:
&amp;nbsp; &amp;nbsp; DatabasePage&#40;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; int nextId&#40;&#41; const;
&amp;nbsp;
private slots:
&amp;nbsp; &amp;nbsp; void connectionTest&#40;&#41;;
&amp;nbsp;
private:
&amp;nbsp; &amp;nbsp; QPushButton *testConnBttn;
&#125;;

DatabasePage::DatabasePage&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp;.....
&amp;nbsp; &amp;nbsp; testConnBttn = new QPushButton&#40;tr&#40;&amp;quot;Test connection&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; QHBoxLayout *bttnLayout = new QHBoxLayout;
&amp;nbsp; &amp;nbsp; bttnLayout&#45;&amp;gt;addStretch&#40;&#41;;
&amp;nbsp; &amp;nbsp; bttnLayout&#45;&amp;gt;addWidget&#40;testConnBttn&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; setLayout&#40;bttnLayout&#41;;
&amp;nbsp; &amp;nbsp; connect&#40;testConnBttn, SIGNAL&#40;clicked&#40;&#41;&#41;, this, SLOT&#40;connectionTest&#40;&#41;&#41;&#41;;
&#125;

void DatabasePage::connectionTest&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; QMessageBox::information&#40;this,&amp;quot;WATCH&amp;quot;,&amp;quot;Error&amp;quot;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; QSqlDatabase db = QSqlDatabase::addDatabase&#40;&amp;quot;QMYSQL&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; db.setHostName&#40; &amp;quot;localhost&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; db.setDatabaseName&#40; &amp;quot;test&amp;quot; &#41;;
&amp;nbsp; &amp;nbsp; db.setUserName&#40; &amp;quot;root&amp;quot; &#41;;
&amp;nbsp; &amp;nbsp; db.setPassword&#40; &amp;quot;hqo&amp;quot; &#41;;
&amp;nbsp; &amp;nbsp; if &#40; !db.open&#40;&#41; &#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QMessageBox::information&#40;this,&amp;quot;WATCH&amp;quot;,db.lastError&#40;&#41;.text&#40;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&#125;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28024</guid>
            <pubDate>Wed, 22 May 2013 08:36:27 GMT</pubDate>
        </item>
	

	</channel>
</rss>