<?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 posts)</title>
  <link>http://qt-project.org/forums</link>
  <description>RSS feed for latest posts in all forums on Qt Developer Network</description>
  <copyright>Copyright 2012 Qt Developer Network</copyright>
  <docs>http://www.rssboard.org/rss-specification</docs>
  <generator>ExpressionEngine v2.3.1 http://expressionengine.com/</generator>
  <lastBuildDate>Thu, 24 May 2012 19:08:38 GMT</lastBuildDate>
  <atom:link href="http://qt-project.org/feeds/all_forums/posts" rel="self" type="application/rss+xml" />
  
  
        <item>
            <title>QToolTip::show problem</title>
            <link>http://qt-project.org/forums/viewreply/86678</link>
            <author>ahura_24</author>
            <description><![CDATA[i read your link and i really tnx you but i cant understand how to use of hover ! if you can please show me with a very very simple example . very very tnx]]></description>
            <guid isPermaLink="false">3995c232e0d5eb5296fd1767dcdd38f9</guid>
            <pubDate>Thu, 24 May 2012 19:07:11 GMT</pubDate>
        </item>
  
        <item>
            <title>Qt 4.8.2 included in latest SDK or not?</title>
            <link>http://qt-project.org/forums/viewthread/17493</link>
            <author>MuldeR</author>
            <description><![CDATA[On http://qt&#45;project.org/downloads it says:

	The Qt SDK version 1.2.1 released on April 11th contains:
	
		Qt libraries version 4.8.2
	

	But when I download the latest SDK installer and select &#8220;Custom&#8221;, then only Qt 4.8.1 (or older) can be selected.

	Is this a typo on the download page or do I miss something?]]></description>
            <guid isPermaLink="false">86fb294c1fc5de4af24de893c32a1ac5</guid>
            <pubDate>Thu, 24 May 2012 19:05:47 GMT</pubDate>
        </item>
  
        <item>
            <title>Can i hook native win32 api code into Qt code?</title>
            <link>http://qt-project.org/forums/viewreply/86677</link>
            <author>MuldeR</author>
            <description><![CDATA[Should be no problem. I do it all the time.

	You can use QLibrary to dynamically load Win32 functions that may be missing from older Win32 versions:

	typedef HRESULT &#40;WINAPI *SHGetKnownFolderPathFun&#41;&#40;__in const GUID &amp;amp;rfid, __in DWORD dwFlags, __in HANDLE hToken, __out PWSTR *ppszPath&#41;;
typedef HRESULT &#40;WINAPI *SHGetFolderPathFun&#41;&#40;__in HWND hwndOwner, __in int nFolder, __in HANDLE hToken, __in DWORD dwFlags, __out LPWSTR pszPath&#41;;
&amp;nbsp;
static SHGetKnownFolderPathFun SHGetKnownFolderPathPtr = NULL;
static SHGetFolderPathFun SHGetFolderPathPtr = NULL;
&amp;nbsp;
if&#40;&#40;!SHGetKnownFolderPathPtr&#41; &amp;amp;&amp;amp; &#40;!SHGetFolderPathPtr&#41;&#41;
&#123;
&amp;nbsp; QLibrary kernel32Lib&#40;&amp;quot;shell32.dll&amp;quot;&#41;;
&amp;nbsp; if&#40;kernel32Lib.load&#40;&#41;&#41;
&amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; SHGetKnownFolderPathPtr = &#40;SHGetKnownFolderPathFun&#41; kernel32Lib.resolve&#40;&amp;quot;SHGetKnownFolderPath&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; SHGetFolderPathPtr = &#40;SHGetFolderPathFun&#41; kernel32Lib.resolve&#40;&amp;quot;SHGetFolderPathW&amp;quot;&#41;;
&amp;nbsp; &#125;
&#125;
&amp;nbsp;
if&#40;SHGetKnownFolderPathPtr&#41;
&#123;
&amp;nbsp; WCHAR *path = NULL;
&amp;nbsp; if&#40;SHGetKnownFolderPathPtr&#40;folderGUID, 0x00008000, NULL, &amp;amp;path&#41; == S_OK&#41;
&amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; /* ... */
&amp;nbsp; &#125;
&#125;]]></description>
            <guid isPermaLink="false">2b42ae2b907aee0a391b741c1e54c76a</guid>
            <pubDate>Thu, 24 May 2012 18:55:53 GMT</pubDate>
        </item>
  
        <item>
            <title>mouse leave region ...</title>
            <link>http://qt-project.org/forums/viewreply/86676</link>
            <author>ahura_24</author>
            <description><![CDATA[does exist work for Qt programmer in the world ? i dont know popular of Qt in the world ! if i want work for office, Qt is best or .net like C# ? or java ? or other language &#8230;]]></description>
            <guid isPermaLink="false">ed38d448f315d09012a7f26b34038157</guid>
            <pubDate>Thu, 24 May 2012 18:53:11 GMT</pubDate>
        </item>
  
        <item>
            <title>QSharedMemory handle issues (RHEL)</title>
            <link>http://qt-project.org/forums/viewthread/17492</link>
            <author>brny</author>
            <description><![CDATA[Hello &#8211; 

	I have a very strange problem.  Basically, I use a QSharedMemory segment (Qt 4.7) in order to share/push data out from my application&#8217;s main window to child windows.  The child windows attach to the same segment using a completely static text key, the same used by the main window when initially creating the shared memory segment (e.g. &#8220;memory_share_test&#8221;).  While the main window creates the shared memory segment, the child windows only attach (as they are opened when needed), and read data from the shared memory as needed (in order to display updating data).

	By and large, this works fine.  I can open/close child windows all day and not have any issues.  However, if I go away for a few days (say, across a weekend, where my updating data source is effectively offline) and come back, the child windows that are already open will continue to be fine (they can continue to see the shared memory segment fine).  But if I open a new child window after this period of inactivity, I can&#8217;t attach to the shared memory segment from the (new) child windows &#8211; I get the error &#8220;QSharedMemory::handle:: UNIX key file doesn&#8217;t exist&#8221;.  Again, the child windows that are already open are fine, but if I close them (and re&#45;open them) I get the same error.  It&#8217;s as if &#8211; after some time &#8211; I can no longer attach to the shared memory segment using the text key.  Shutting down the whole application and restarting it (forcing the main window to re&#45;create the shared memory again) solves the issue.

	My gut instinct is that perhaps the OS (RHEL in this case) is doing some sort of housekeeping after a period of inactivity, perhaps corrupting the ability for any new child windows to find that shared memory segment in the future.  Adding to this possibility, I have been running this same application on Linux Mint as well, and I have not seen this issue (at least yet).

	Any suggestions or insight would be much appreciated!

	Thanks,

	Brett]]></description>
            <guid isPermaLink="false">bd7f3107f9f725d94e2bc9b4857d61fc</guid>
            <pubDate>Thu, 24 May 2012 18:52:09 GMT</pubDate>
        </item>
  
        <item>
            <title>[Moved]Any way to reduce timeout interval for Network Access Manager&#63;</title>
            <link>http://qt-project.org/forums/viewthread/17491</link>
            <author>mady</author>
            <description><![CDATA[Hi Experts,
  I am working on a download software, using NAM to donwload files. Things are working fine in most of the cases but when there is no internet connection (but LAN is working) It is taking almost ~40 seconds to TimeOut. 
  I googled and find some suggestions where people are suggesting to use timer but is this the only solution? I am thinking if there is any way to change the timeout interval so that we can get notification quicker.

	[Moved /Vass]]]></description>
            <guid isPermaLink="false">66a0fa71d96fd458a70403699c6104db</guid>
            <pubDate>Thu, 24 May 2012 18:19:41 GMT</pubDate>
        </item>
  
        <item>
            <title>Can i hook native win32 api code into Qt code?</title>
            <link>http://qt-project.org/forums/viewthread/17490</link>
            <author>umen242</author>
            <description><![CDATA[Hi 
im looking for away to disable the windows key , i didnt find any problematically way in Qt but did found some code in native win32 code
my question is can i hook this code into Qt somehow 
here is the link to the code: 
http://www.programmersheaven.com/mb/windows/344596/344659/problem&#45;solved/ [programmersheaven.com]]]></description>
            <guid isPermaLink="false">c336c34e4e14294351a2e3762d7e1518</guid>
            <pubDate>Thu, 24 May 2012 17:48:47 GMT</pubDate>
        </item>
  
        <item>
            <title>QT&#45;Splash screen</title>
            <link>http://qt-project.org/forums/viewreply/86671</link>
            <author>Slyvr</author>
            <description><![CDATA[Thank you.  That bit of code just did the trick! and prompt answer too ^^]]></description>
            <guid isPermaLink="false">e0f4c1d1a967356afb5c2be47bf4aff2</guid>
            <pubDate>Thu, 24 May 2012 17:27:19 GMT</pubDate>
        </item>
  
        <item>
            <title>QT&#45;Splash screen</title>
            <link>http://qt-project.org/forums/viewthread/17489</link>
            <author>Slyvr</author>
            <description><![CDATA[I am using qt 4.5.3  and i want to create a splash screen that disappears after ~5 seconds. i tried using sleep and other such structures, the splash screen activates and disappears on time but the image in the splash doesn&#8217;t load, like in the case without the timer/sleep. Here is my code from the main.cpp, If anyone has any suggestions please help me out, :

	/*
 * main.cpp
 *
 *  Created on: May 24, 2012
 *      Author: f&#45;time
 */

	#include &amp;lt;QApplication&amp;gt;
#include &amp;lt;QSplashScreen&amp;gt;
#include&amp;lt;time.h&amp;gt;
#include&amp;lt;iostream&amp;gt;
#include &#8220;mainwindow.h&#8221;

	using namespace std;

 int main(int argc, char *argv[])
 &#123;
  // Q_INIT_RESOURCE(application);
  QApplication app(argc, argv);
  QPixmap pixmap(&#8220;splash.jpg&#8221;);
  QSplashScreen *splash = new QSplashScreen(pixmap);
  splash&#45;&amp;gt;show();
  app.processEvents();
  app.setOrganizationName(&#8220;Boss&#8221;);
     app.setApplicationName(&#8220;Can Application&#8221;);
     MainWindow mainWin;

     mainWin.show();

     splash&#45;&amp;gt;finish(&amp;amp;mainWin);
     return app.exec();
 &#125;]]></description>
            <guid isPermaLink="false">3c14580ecb5ce00549dc749c1511b13f</guid>
            <pubDate>Thu, 24 May 2012 16:48:52 GMT</pubDate>
        </item>
  
        <item>
            <title>Inter&#45;changeable style sheets, are they possible?</title>
            <link>http://qt-project.org/forums/viewreply/86665</link>
            <author>sierdzio</author>
            <description><![CDATA[No problem, mate :)

	Just be careful, styles follow parent&#45;child hierarchy, which can lead to some headaches at times ;)]]></description>
            <guid isPermaLink="false">ca17e5113a03488c9fc279cab94ce5fd</guid>
            <pubDate>Thu, 24 May 2012 16:35:11 GMT</pubDate>
        </item>
  

  </channel>
</rss>
