<?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 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:07:41 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/all_forums" rel="self" type="application/rss+xml" />


	
        <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">http://qt-project.org/forums/viewthread/17493</guid>
            <pubDate>Thu, 24 May 2012 19:05:47 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">http://qt-project.org/forums/viewthread/17492</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">http://qt-project.org/forums/viewthread/17491</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">http://qt-project.org/forums/viewthread/17490</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/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">http://qt-project.org/forums/viewthread/17489</guid>
            <pubDate>Thu, 24 May 2012 16:48:52 GMT</pubDate>
        </item>
	
        <item>
            <title>How to deal with foreign key in Qt?</title>
            <link>http://qt-project.org/forums/viewthread/17488</link>
            <author>DrizzleX</author>
            <description><![CDATA[else
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query&#45;&amp;gt;prepare &#40;&amp;quot;insert into Courses values (?,?,?)&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query&#45;&amp;gt;bindValue &#40;0,courseIDLine&#45;&amp;gt;text &#40;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query&#45;&amp;gt;bindValue &#40;1,courseNameLine&#45;&amp;gt;text &#40;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; query&#45;&amp;gt;bindValue &#40;2,courseTeacherIDLine&#45;&amp;gt;text &#40;&#41;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; successful=query&#45;&amp;gt;exec &#40;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; if&#40;successful&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; closeInsertCourseDlg &#40;&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; else if&#40;!errorMsg&#45;&amp;gt;isVisible &#40;&#41;&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //indicate that cannot execute the statement
&amp;nbsp; &amp;nbsp; &#125;


	but if the SQL statement doesn&#8217;t satisfy the foreign key, the program will end unexpectedly, saying that the statement have conflicts with foreign key in SQL Server.

 it will not just return a false

	how to change the code??]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17488</guid>
            <pubDate>Thu, 24 May 2012 16:10:26 GMT</pubDate>
        </item>
	
        <item>
            <title>Project Manager in Computer Assisted Surgery</title>
            <link>http://qt-project.org/forums/viewthread/17487</link>
            <author>AmplitudeRecruitment</author>
            <description><![CDATA[Company:
AMPLITUDE, the leading French manufacturer in its domestic hip and knee implant market, is more determined than ever to become a world leader in the orthopaedic field, using computer assisted surgery.
http://www.amplitude&#45;ortho.com/ [amplitude&#45;ortho.com]

	Position and duties:
Under the responsibility of the Computer Assisted Surgery Manager, your tasks will include:
	
		Project management in conjunction with a Mechanical Project Manager and a Marketing Product Manager
		Requirements analysis
		Development planning
		Drafting of technical specifications
		Design and development in accordance with current medical standards, especially EN 62304
		Production of models
		Drafting of the technical dossier in accordance with European Directive 93/42 and 2007/47
		Testing
		Participation in development meetings with surgeons
	

	Profile:
Master of Science in Computer Science, Engineering or Equivalent Qt experience

	Experience:
	
		This position requires a professional experience at least 2 years in an equivalent function, ideally in the same industry (medical device R&amp;amp;D).
		Experience in medical software development is very beneficial
	

	Specific knowledge required:
	
		Solid knowledge of C++ programming, Subversion
		Long&#45;term experience in software development with Qt
		Experience with Qt Quick is very beneficial
		Experience with JavaScript is very beneficial
		Project Management
		Strong concepts of 3D: OpenGL, Shaders
		Knowledge of Design Patterns
	

	Language:
Fluent in French (mandatory)
Technical English

	Qualifications:
	
		Structured and organized
		Teamwork
		Openness
		Sense of relationship
		Autonomous
	

	Information:
Date of entry: 01/07/2012 &#8211; Full&#45;time job &#8211; Location: Valence, France
Health Insurance, Restaurant Tickets, participation agreement (about one month salary).

	Thank you for sending your application (CV and motivation letter in french) to the attention of
“Responsable BE Navigation“
at : recrutement@amplitude&#45;ortho.com]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17487</guid>
            <pubDate>Thu, 24 May 2012 15:50:51 GMT</pubDate>
        </item>
	
        <item>
            <title>Inter&#45;changeable style sheets, are they possible?</title>
            <link>http://qt-project.org/forums/viewthread/17486</link>
            <author>Dolphin</author>
            <description><![CDATA[I can see that the style sheet code I have put into gui via Qt Designer is put into the project.ui xml document and is not actually its own file as per CSS.  

	What if I want more than one look and feel for a project?  Is there any way to have multiple &#8216;style sheets&#8217; like I would do with CSS so styles can be interchanged?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17486</guid>
            <pubDate>Thu, 24 May 2012 15:46:09 GMT</pubDate>
        </item>
	
        <item>
            <title>QToolTip::show problem</title>
            <link>http://qt-project.org/forums/viewthread/17485</link>
            <author>ahura_24</author>
            <description><![CDATA[hi please check this and help me . tnx alot
my qt library is 4.8.1 vs2008 sp1

	#ifndef FORM_H
#define FORM_H
&amp;nbsp;
#include &amp;lt;QtGui&amp;gt;
&amp;nbsp;
class form : public QWidget
&#123;
&amp;nbsp; &amp;nbsp; Q_OBJECT
public:
&amp;nbsp; &amp;nbsp; explicit form&#40;QWidget *parent = 0&#41;;
&amp;nbsp;
private slots:
&amp;nbsp; &amp;nbsp; void onbtnclick&#40;&#41;;
&amp;nbsp; &amp;nbsp; 
private:
&amp;nbsp; &amp;nbsp; QLineEdit *l;
&amp;nbsp; &amp;nbsp; QPushButton *b;
&#125;;
&amp;nbsp;
#endif // FORM_H


	#include &amp;quot;form.h&amp;quot;
&amp;nbsp;
form::form&#40;QWidget *parent&#41; :
&amp;nbsp; &amp;nbsp; QWidget&#40;parent&#41;
&#123;
&amp;nbsp; &amp;nbsp; QVBoxLayout *lay = new QVBoxLayout&#40; this &#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; l = new QLineEdit;
&amp;nbsp; &amp;nbsp; b = new QPushButton;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; lay&#45;&amp;gt;addWidget&#40; l &#41;;
&amp;nbsp; &amp;nbsp; lay&#45;&amp;gt;addWidget&#40; b &#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; connect&#40;b, SIGNAL&#40;clicked&#40;&#41;&#41;, this, SLOT&#40;onbtnclick&#40;&#41;&#41;&#41;;
&#125;
&amp;nbsp;
void form::onbtnclick&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; QToolTip::showText&#40;l&#45;&amp;gt;pos&#40;&#41;, &amp;quot;sometext&amp;quot;, l&#41;;
&#125;


	#include &amp;quot;form.h&amp;quot;
&amp;nbsp;
int main&#40;int argc, char **argv&#41;
&#123;
&amp;nbsp; &amp;nbsp; QApplication app&#40; argc, argv &#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; form f;
&amp;nbsp; &amp;nbsp; f.show&#40;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; return app.exec&#40;&#41;;
&#125;


	i want tooltip display for lineedit but display in other region and out of my widget !!!!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17485</guid>
            <pubDate>Thu, 24 May 2012 15:39:29 GMT</pubDate>
        </item>
	
        <item>
            <title>mouse leave region ...</title>
            <link>http://qt-project.org/forums/viewthread/17484</link>
            <author>ahura_24</author>
            <description><![CDATA[hi . i can use mouseMoveEvent when mouse enter region but how can i use of event when mouse leave region ?! 

	void myLineEdit::mouseMoveEvent&#40;QMouseEvent *e&#41;
&#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QApplication::setOverrideCursor&#40;Qt::waitCursor&#41;;
&#125;
&amp;nbsp;
void myLineEdit::mouseLeaveEvent&#40;QMouseEvent *e&#41; // but doesnt exist please help me for this function
&#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QApplication::restoreOverrideCursor&#40;&#41;;
&#125;


	how can i know mouse leave from region for example QLineEdit ( mouse enter/leave event )?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17484</guid>
            <pubDate>Thu, 24 May 2012 15:25:31 GMT</pubDate>
        </item>
	
        <item>
            <title>using QTest::qExec&#40;&#41;  with parameters</title>
            <link>http://qt-project.org/forums/viewthread/17483</link>
            <author>Sam</author>
            <description><![CDATA[In QTestLib Manual [qt&#45;project.org]   it is specified that along with the test classes we can also specify some arguments like &#45;functions , &#45;xml etc. But how can we specity the same argument list if we run the test using 

	QTest::qExec&#40;testClass,argument&#41;. 


	I need to store the list of functions in a testClass in a QStringList. I am able to use the arguments/parameters while running my test class through command prompt like testClass.exe &#45;functions that returns the function list.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17483</guid>
            <pubDate>Thu, 24 May 2012 14:02:55 GMT</pubDate>
        </item>
	
        <item>
            <title>My first solution with QMAKE</title>
            <link>http://qt-project.org/forums/viewthread/17482</link>
            <author>rimas</author>
            <description><![CDATA[Hi,

	I have just registred to the forum after some months just reading your interesting posts.
I&#8217;l try to explain you what problem do I have and let&#8217;s see&#8230;

	I usually work in Windows using QT (and Visual Studio) but at home I have a mac (MacBook Pro with Snow Leopard 10.6.8) and I want to be able to work with it too.
I want to use QT and CMake to create the solution of the project we are working. In my Mac I have installed Xcode, the full QT application framework and CMake. I&#8217;m trying to create the solution via QT and CMake trougth a CMakeLists.txt.

	When I try to configure and generate the solutuion, I get this:

	CMake Error at /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindPackageHandleStandardArgs.cmake:97 &#40;MESSAGE&#41;:
&amp;nbsp; Could NOT find Qt4 &#40;missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
&amp;nbsp; QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
&amp;nbsp; QT_QTCORE_LIBRARY&#41;
Call Stack &#40;most recent call first&#41;:
&amp;nbsp; /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindPackageHandleStandardArgs.cmake:288 &#40;_FPHSA_FAILURE_MESSAGE&#41;
&amp;nbsp; /Applications/CMake 2.8&#45;8.app/Contents/share/cmake&#45;2.8/Modules/FindQt4.cmake:1172 &#40;FIND_PACKAGE_HANDLE_STANDARD_ARGS&#41;
&amp;nbsp; commonLib/CMakeLists.txt:17 &#40;find_package&#41;


	QT is not able to find QT_QMAKE_EXECUTABLE, QT_MOC_EXECUTABLE, QT_RCC_EXECUTABLE, QT_UIC_EXECUTABLE, QT_INCLUDE_DIR, QT_LIBRARY_DIR and QT_QTCORE_LIBRARY.

	I read that to solve this I have to configure the Environment Variables of my system but in all the posts I read they add to $HOME/.profile:

	PATH=/usr/local/Trolltech/Qt&#45;4.7/bin:$PATH
export PATH


	In my Mac the folder /usr/local/Trolltech doesn&#8217;t exist so I have no idea what I have to do. What should the content of that folder be? I have installed the last and full QT package so I don&#8217;t understand why I don&#8217;t have that directory. I have installed the SDK in $HOME/QtSDK (by default it is installed there).

	Anybody know how can I solve it to be able to run cmake and generate the solution for QT?

	Thanks in advance.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17482</guid>
            <pubDate>Thu, 24 May 2012 13:55:52 GMT</pubDate>
        </item>
	
        <item>
            <title>Need source code for QT for Android or libqtcore source code</title>
            <link>http://qt-project.org/forums/viewthread/17481</link>
            <author>ankitjain</author>
            <description><![CDATA[&amp;gt;Hi,

	&amp;gt;Can anyone give me the link from where I can download the source code for QT or libqtcore source code.

	Thanks.
Ankit]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17481</guid>
            <pubDate>Thu, 24 May 2012 13:44:57 GMT</pubDate>
        </item>
	
        <item>
            <title>eventFilter does not updates a variable</title>
            <link>http://qt-project.org/forums/viewthread/17480</link>
            <author>RSousa</author>
            <description><![CDATA[Hi,

	Im using the eventFilter function to update a variable that&#8217;s belongs to the same class by generating an event through postevent function(in other class).
The event is processed and the variable is changed indeed inside of eventFilter function. But from the class that generate the postevent, the variable remains untouched&#8230;

	I really thank you 

	Ricardo Sousa]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17480</guid>
            <pubDate>Thu, 24 May 2012 13:44:07 GMT</pubDate>
        </item>
	
        <item>
            <title>چت</title>
            <link>http://qt-project.org/forums/viewthread/17479</link>
            <author>black rider</author>
            <description><![CDATA[سلام دوستان ببخشید که اینقدر سوال میپرسم! من دارم یه برنامه چت مینویسم که به صورت کلاینت سروری
می خواستم یکم برام توضیح بدین که چطور بین اپلیکیشن کلاینت و سرور ارتباط برقرار کنم، یعنی کلاینت باید چی بفرسته و سرور چطور به اون گوش بده؟
یا از کدوم پروتکل استفاده کنم بهتره؟
یا لینک بهم معرفی کنید.
اپلیکیشن کلاینت به چه ماژول هایی نیاز داره؟ اگه یه نمونه کوچیک بهم معرفی کنید تا ببینم چی کردع ممنون میشم البته اون مثال کیوت بدردم نخورد چون سرور و کلاینت با همه.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17479</guid>
            <pubDate>Thu, 24 May 2012 13:09:04 GMT</pubDate>
        </item>
	
        <item>
            <title>QODBC, windows, only debug version</title>
            <link>http://qt-project.org/forums/viewthread/17478</link>
            <author>Luca</author>
            <description><![CDATA[Hi all,
I&#8217;m trying to use QODBC plugin in windows 7.

	I built the plugin as described in the documentation.
I installed the Qt source (4.7.4) from SDKMaintenance.
Then I built the plugin this way:
cd c:\QtSDK\QtSources\4.7.4\src\plugins\sqldrivers\odbc
qmake odbc.pro
mingw32&#45;make


	after this I get the odbc plugin in only debug version:
qsqlodbcd4.dll


	Is there a way to get a release version?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17478</guid>
            <pubDate>Thu, 24 May 2012 12:10:09 GMT</pubDate>
        </item>
	
        <item>
            <title>Commercial usage of QML components for desktop</title>
            <link>http://qt-project.org/forums/viewthread/17477</link>
            <author>matthiasdd</author>
            <description><![CDATA[Hi!

	We are currently developing a commercial (closed&#45;source) GUI application based on Qt and decided to use QML as well. We also evaluated the components for desktop and found them suitable for our basic needs (just some buttons and checkboxes with native looks). Thanks for the great work to you and the other developers!
However, we do not know which license terms apply and whether commercial usage is allowed.  I looked at the source files: some have a BSD&#45;&#8220;header&#8221;, some have no information at all and most say that either Commercial usage is not permitted (under the technical preview license) or alternatively LGPL can be applied.
Could anyone please try to clarify on this? 

	Also, if it is LGPL, how would you deploy the qml files? I suppose it should be sufficient to deploy the directory as is, i.e. not compiled into a qresource. That way it would be possible to exchange the whole desktop&#45;components&#45;library without touching our executable. What do you think?

	Kind regards,
Matthias]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17477</guid>
            <pubDate>Thu, 24 May 2012 11:41:19 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt and gdb</title>
            <link>http://qt-project.org/forums/viewthread/17476</link>
            <author>GrahamL</author>
            <description><![CDATA[Hi
I realise that this might not be the best place for this question &#8230;

	I am trying to get a python enabled version of gdb working on my windows 7 machine so that I can use pretty printing for Qt types.
I have downloaded gdb 7.4 which I believed to be pyton enabled, but when I try it gdb tells me that python in so supported by this version.

	Does anyone know how I can resolve this?

	Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17476</guid>
            <pubDate>Thu, 24 May 2012 11:26:43 GMT</pubDate>
        </item>
	
        <item>
            <title>QtTreeWidget: issue with indicator display + drop target</title>
            <link>http://qt-project.org/forums/viewthread/17475</link>
            <author>gjaegy</author>
            <description><![CDATA[Hi,

	It seems part of this question has already been asked a few time, but I haven&#8217;t been able to find any matching answer until now, so I decided to create a new post.

	I have a tree containing my scene graph, using a custom derived QtTreeWidget class directly (no model/view):

	

	Now, I have two issues, which are linked together I guess, related to moving items within the tree:

	
		first of all, no drop indicator is being shown, although I think I have called the right code:
setAcceptDrops&#40;imTRUE&#41;;
setDragEnabled&#40;true&#41;;
setDragDropMode&#40;DragDrop&#41;;
setDragDropOverwriteMode&#40;imFALSE&#41;;
setDropIndicatorShown&#40;imTRUE&#41;;
&amp;nbsp;
setSelectionMode&#40;QAbstractItemView::SingleSelection&#41;;
setSelectionBehavior&#40;QAbstractItemView::SelectRows&#41;;

	

	I have tried to derive my own style and experiment with QStyle::PE_IndicatorItemViewItemDrop, but without any success.
I have also tried to draw a custom line by myself, but I can&#8217;t figure out where it should be drawn exactly (see point 2 below).

	
		it is very hard to precisely define where the node will be dropped. More precisely, I can&#8217;t figure out why the node gets sometimes added as child of the target, and sometimes it gets added before or after the target item. I know the position of the cursor defines this behaviour, however, without any visual indicator, this is really hard to use.
	

	Any help would be appreciated, I have had this issue for month now  
Thanks guys !]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17475</guid>
            <pubDate>Thu, 24 May 2012 11:02:21 GMT</pubDate>
        </item>
	
        <item>
            <title>how setting multimedia playback speed in Qt Phonon</title>
            <link>http://qt-project.org/forums/viewthread/17474</link>
            <author>coolx</author>
            <description><![CDATA[hello everyone!
I use the Qt Phonon in developing a multimedia player。
I need to set the playback speed, but I did not find the relevant API in Phonon::MediaObject or others class。
Does Qt Phonon support setting playback speed ？
Or what&#8217;s the solution in Qt Phonon?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17474</guid>
            <pubDate>Thu, 24 May 2012 10:42:26 GMT</pubDate>
        </item>
	
        <item>
            <title>Creator 2.5.0</title>
            <link>http://qt-project.org/forums/viewthread/17473</link>
            <author>GrahamL</author>
            <description><![CDATA[Hi
I just downloaded 2.5.0 but when I try to debug i get the following error
&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
Debugger
&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
None of the debugger engines &apos;Gdb engine, Cdb engine&apos; capable of debugging binaries of the type &apos;x86&#45;windows&#45;msys&#45;pe&#45;32bit&apos; is configured correctly.
&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;
OK &amp;nbsp; Settings... &amp;nbsp; Hide Details... &amp;nbsp; 
&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;

How can I fix this?

	Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17473</guid>
            <pubDate>Thu, 24 May 2012 10:30:24 GMT</pubDate>
        </item>
	
        <item>
            <title>namespace best practice</title>
            <link>http://qt-project.org/forums/viewthread/17472</link>
            <author>fluca1978</author>
            <description><![CDATA[Hi all,
I&#8217;m going to refactor a few classes in my project to belong all to the same namespace. Each class has its own header and implementation file. I&#8217;m just curious to know which is the best practice to contain all of them in a single namespace, do I have to create a &#8220;namespace&#8221; file like:

	namespace mySpace&#123;
&amp;nbsp; &amp;nbsp; class MyClassA;
&amp;nbsp; &amp;nbsp; class MyClassB;
&#125;


	or add the namespace block in each header file or what? Any suggestion is welcome.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17472</guid>
            <pubDate>Thu, 24 May 2012 10:28:55 GMT</pubDate>
        </item>
	
        <item>
            <title>Making a code completion plugin for qtcreator, any beginner&apos;s help?</title>
            <link>http://qt-project.org/forums/viewthread/17471</link>
            <author>Meai</author>
            <description><![CDATA[Hi, I set up the &#8220;hello world&#8221; plugin and I&#8217;m able to debug it. Right now I&#8217;m looking at these huge undocumented API&#8217;s (http://doc.qt.nokia.com/qtcreator&#45;extending/codeassist.html) and it seems to me that I&#8217;m pretty much required to read the entire qtcreator source code if I want to understand how to do a plugin. I&#8217;m new to Qt, I can&#8217;t even find the TextEditor.h file and how to include it.

	I just want to be able to do the exact same thing as qtcreator does for c++ (I don&#8217;t care about the look and shape of the popup&#8230;), except fill it up with different info when targetting a different language. (Google Go in this case)
I&#8217;ll get the info from Gocode, so the only remaining thing is: 

	How do I create a popup and at which location in the source? Any small samples in that direction? There don&#8217;t seem to be any existing autocompletion plugins open sourced.

	I guess the docs are largely unfinished here: http://doc.qt.nokia.com/qtcreator&#45;extending/creating&#45;plugins.html]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17471</guid>
            <pubDate>Thu, 24 May 2012 09:30:17 GMT</pubDate>
        </item>
	
        <item>
            <title>How to disable the auto&#45;enlarging of QSplitter when adding more widgets</title>
            <link>http://qt-project.org/forums/viewthread/17470</link>
            <author>james_cgwang</author>
            <description><![CDATA[Hi Team,

	I&#8217;m trying to develop one simple application with QSplitter, the splitter is used as one big container, and one or more widgets can be added into it, the problem is that &#8211; 

	The QSplitter may auto&#45;enlarge when adding more sub&#45;widgets, is there any way to prevent this? I know this is a very strange requirement, but I ONLY want to the QSplitter to be resized when the outer window is resized, thanks very much!

	Regards
James]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17470</guid>
            <pubDate>Thu, 24 May 2012 09:22:38 GMT</pubDate>
        </item>
	
        <item>
            <title>Using device camera without Qt Mobility</title>
            <link>http://qt-project.org/forums/viewthread/17469</link>
            <author>mannu</author>
            <description><![CDATA[Hey
I wanted to know is there any other way to access device camera in a symbian phone through a Qt application without using Qt Mobility. I read that the camera api has been removed form Qt Mobility. Please help me out]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17469</guid>
            <pubDate>Thu, 24 May 2012 08:30:17 GMT</pubDate>
        </item>
	
        <item>
            <title>External widget</title>
            <link>http://qt-project.org/forums/viewthread/17468</link>
            <author>Massinissa</author>
            <description><![CDATA[Hi,
I&#8217;m new on Qt and I&#8217;m creating a GUI which has an external widget (QVTKWidget). I tried to call a function that can read and show a png image on this widget by a simple push button. It works but I have to click on the widget to show my image. There is no refresh!
Is there something I have to do to fix this problem?

	Thank you!

	Massinissa.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17468</guid>
            <pubDate>Thu, 24 May 2012 05:51:48 GMT</pubDate>
        </item>
	
        <item>
            <title>How to create an action context menu for QTablewidget</title>
            <link>http://qt-project.org/forums/viewthread/17467</link>
            <author>adnan</author>
            <description><![CDATA[I tried setting context menu policy to action context menu but no context menu is displayed on right click]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17467</guid>
            <pubDate>Thu, 24 May 2012 00:45:20 GMT</pubDate>
        </item>
	
        <item>
            <title>application cannot exit</title>
            <link>http://qt-project.org/forums/viewthread/17466</link>
            <author>panosk</author>
            <description><![CDATA[Hello all,

	I have created my first C++/Qt app (a plugin to an external application) which doesn&#8217;t have a main gui. I just have to use QmessageBoxes in order to display various errors or misconfigurations to the user. As a result, I&#8217;m actually using QApplication although it is essentially a console app. The problem is that although the app is working correctly, it can&#8217;t exit unless I place an exit(0) in the source file where the actual work is done. Also, if I display a &#8220;dummy&#8221; QMessageBox right after my app has done its work, clicking on the OK terminates it correctly. In other words, when something goes wrong and a message box appears, the app terminates as it should; when the app is doing its work without problems (thus, no message boxes appear), it can&#8217;t exit :&#45;).

	main.cpp is minimal:
int main&#40;int argc, char *argv&#91;&#93;&#41;
&#123;
&amp;nbsp; &amp;nbsp; QApplication a&#40;argc, argv&#41;;
&amp;nbsp; &amp;nbsp; Client SmallClient;
&amp;nbsp; &amp;nbsp; return a.exec&#40;&#41;;
&#125;


	Any advice or hints will be greatly appreciated.

	Thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17466</guid>
            <pubDate>Wed, 23 May 2012 23:45:40 GMT</pubDate>
        </item>
	
        <item>
            <title>QGraphicsScene QPainterPath::arcTo: Adding arc where a parameter is NaN, results are undefined</title>
            <link>http://qt-project.org/forums/viewthread/17465</link>
            <author>kiepmad</author>
            <description><![CDATA[Hello, 

	I just started out with QT and have a problem that I can&#8217;t seem to solve.
I&#8217;m working on Nine Men&#8217;s Morris and the everything works great, except for a strange bug that creeps up.

	Sometimes, when I click on a Item the GraphicsView turns white and the following error is shown several times in the debug window:

	QPainterPath::arcTo: Adding arc where a parameter is NaN, results are undefined

	The GraphicsView cannot be recovered by resizing, etc., only by restarting the game.

	I&#8217;ve created a MainWindow and with a QGraphicsView and a QGraphicsScene.

	I created 3 seperate QGraphicsItems
1. A boardLayout which renders the background and does not handle click events.
2. A Token Item that handles click events, the color of the token, if it&#8217;s selected, etc.
3. A BoardPosition Item that is invisible and handles the events when you click on an empty position on the board. Clicking this item causes the error described above.

	MainWindow Code:
&amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;setupUi&#40;this&#41;;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;setWindowIcon&#40;QPixmap&#40;QString&#40;&amp;quot;:/Images/icon2.jpeg&amp;quot;&#41;&#41;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; showWin = new WinDialog&#40;this&#41;;
&amp;nbsp; &amp;nbsp; startWindow = new StartDialog&#40;this&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; view = new QGraphicsView&#40;this&#41;;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;setCentralWidget &#40;view&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setVerticalScrollBarPolicy &#40;Qt::ScrollBarAlwaysOff&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setHorizontalScrollBarPolicy &#40;Qt::ScrollBarAlwaysOff&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setMinimumSize &#40;1000, 800&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setViewportUpdateMode &#40;QGraphicsView::FullViewportUpdate&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setCacheMode &#40;QGraphicsView::CacheNone&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setRenderHints &#40;QPainter::Antialiasing | &amp;nbsp;QPainter::TextAntialiasing&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; scene = NULL;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; //this&#45;&amp;gt;debugWidget = new DebugWidget(this);
&amp;nbsp; &amp;nbsp; //this&#45;&amp;gt;debugWidget&#45;&amp;gt;setMinimumWidth (200);
&amp;nbsp;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;layout = NULL;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;controller = NULL;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;whiteTokensSet = 0;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;blackTokensSet = 0;
&#125;
&amp;nbsp;
void MainWindow::Initalize&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; scene = new QGraphicsScene&#40;&#41;;
&amp;nbsp; &amp;nbsp; scene&#45;&amp;gt;setBackgroundBrush &#40;QBrush&#40;Qt::gray&#41;&#41;;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;setScene &#40;scene&#41;;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;layout = new BoardLayout&#40;&#41;;
&amp;nbsp; &amp;nbsp; scene&#45;&amp;gt;addItem&#40;layout&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; float x = 0.081f;
&amp;nbsp; &amp;nbsp; float y = 0.025f;
&amp;nbsp; &amp;nbsp; for&#40;int i = 0; i &amp;lt; 7; i++&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.append&#40;scene&#45;&amp;gt;addText&#40;QString&#40;&apos;A&apos;+i&#41;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setX&#40;x+&#40;i*0.13&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setY&#40;y &#45; 0.008&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setScale&#40;0.003&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp; &amp;nbsp; x = 0.072f;
&amp;nbsp; &amp;nbsp; for&#40;int i = 7; i &amp;lt; 14; i++&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.append&#40;scene&#45;&amp;gt;addText&#40;QString&#40;&apos;1&apos;+&#40;i&#45;7&#41;&#41;&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setX&#40;y&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setY&#40;x+&#40;&#40;i&#45;7&#41;*0.13&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text.at&#40;i&#41;&#45;&amp;gt;setScale&#40;0.003&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;controller = new GameController&#40;this&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; view&#45;&amp;gt;fitInView &#40;layout, Qt::KeepAspectRatio&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; points&#91;0&#93; = QPointF&#40;0.085f, 0.085f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;1&#93; = QPointF&#40;0.475f, 0.085f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;2&#93; = QPointF&#40;0.865f, 0.085f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;3&#93; = QPointF&#40;0.215f, 0.215f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;4&#93; = QPointF&#40;0.475f, 0.215f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;5&#93; = QPointF&#40;0.735f, 0.215f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;6&#93; = QPointF&#40;0.345f, 0.345f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;7&#93; = QPointF&#40;0.475f, 0.345f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;8&#93; = QPointF&#40;0.605f, 0.345f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;9&#93; = QPointF&#40;0.085f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;10&#93; = QPointF&#40;0.215f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;11&#93; = QPointF&#40;0.345f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;12&#93; = QPointF&#40;0.605f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;13&#93; = QPointF&#40;0.735f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;14&#93; = QPointF&#40;0.865f, 0.475f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;15&#93; = QPointF&#40;0.345f, 0.605f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;16&#93; = QPointF&#40;0.475f, 0.605f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;17&#93; = QPointF&#40;0.605f, 0.605f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;18&#93; = QPointF&#40;0.215f, 0.735f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;19&#93; = QPointF&#40;0.475f, 0.735f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;20&#93; = QPointF&#40;0.735f, 0.735f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;21&#93; = QPointF&#40;0.085f, 0.865f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;22&#93; = QPointF&#40;0.475f, 0.865f&#41;;
&amp;nbsp; &amp;nbsp; points&#91;23&#93; = QPointF&#40;0.865f, 0.865f&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; for&#40;int i = 0; i &amp;lt; 24; i++&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boardPositions.append &#40;new BoardPosition&#40;i, points&#91;i&#93;.x&#40;&#41;, points&#91;i&#93;.y&#40;&#41;, this&#45;&amp;gt;controller&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this&#45;&amp;gt;scene&#45;&amp;gt;addItem&#40;boardPositions.at &#40;i&#41;&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; whiteTokensSet = 0;
&amp;nbsp; &amp;nbsp; blackTokensSet = 0;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; for&#40;int i = 0; i &amp;lt; 9; i++&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; whiteTokens.append&#40;new GameToken&#40;WHITE, this&#45;&amp;gt;controller&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; whiteTokens.at&#40;i&#41;&#45;&amp;gt;setVisible&#40;false&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this&#45;&amp;gt;scene&#45;&amp;gt;addItem&#40;whiteTokens.at&#40;i&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; blackTokens.append&#40;new GameToken&#40;BLACK, this&#45;&amp;gt;controller&#41;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; blackTokens.at&#40;i&#41;&#45;&amp;gt;setVisible&#40;false&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this&#45;&amp;gt;scene&#45;&amp;gt;addItem&#40;blackTokens.at&#40;i&#41;&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;startWindow&#45;&amp;gt;close &#40;&#41;;
&amp;nbsp; &amp;nbsp; //this&#45;&amp;gt;debugWidget&#45;&amp;gt;appendText(QString(&amp;quot;Welcome to Nine Men&apos;s Morris!&amp;quot;));
&amp;nbsp; &amp;nbsp; //this&#45;&amp;gt;addDockWidget(Qt::LeftDockWidgetArea, this&#45;&amp;gt;debugWidget);
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;show&#40;&#41;;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;resize&#40;QSize&#40;1001, 801&#41;&#41;;
&#125;

BoardPositions Code:
#include &amp;quot;boardposition.h&amp;quot;
#include &amp;quot;gamecontroller.h&amp;quot;
&amp;nbsp;
BoardPosition::BoardPosition&#40;int pos, float coordx, float coordy, GameController *controller&#41; :
&amp;nbsp; &amp;nbsp; QGraphicsItem&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; boardPos = pos;
&amp;nbsp; &amp;nbsp; posx = coordx;
&amp;nbsp; &amp;nbsp; posy = coordy;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;controller = controller;
&#125;
&amp;nbsp;
QRectF BoardPosition::boundingRect&#40;&#41; const
&#123;
&amp;nbsp; &amp;nbsp; return QRectF&#40;posx, posy, 0.05, 0.05&#41;;
&#125;
&amp;nbsp;
void BoardPosition::paint&#40;QPainter *painter, const QStyleOptionGraphicsItem *option,
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; QWidget *widget&#41;
&#123;
&amp;nbsp; &amp;nbsp; painter&#45;&amp;gt;setPen&#40;Qt::NoPen&#41;;
&amp;nbsp; &amp;nbsp; painter&#45;&amp;gt;setBrush&#40;Qt::transparent&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; painter&#45;&amp;gt;drawRect&#40;QRectF&#40;posx, posy, 0.05, 0.05&#41;&#41;;
&#125;
&amp;nbsp;
void BoardPosition::mousePressEvent&#40;QGraphicsSceneMouseEvent *event&#41;
&#123;
&amp;nbsp; &amp;nbsp; controller&#45;&amp;gt;boardClicked&#40;boardPos&#41;;
&amp;nbsp;
&#125;


	How could I debug this error,  or did I do something entirely wrong?

	Please let me know if you need any other information. (You can cownload the whole code here: https://www.dropbox.com/s/osc7l2tyxf63qp6/nine&#45;mens&#45;morris&#45;ff306f393749.zip )]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17465</guid>
            <pubDate>Wed, 23 May 2012 22:52:12 GMT</pubDate>
        </item>
	
        <item>
            <title>How to compare two QGraphicsItem objects?</title>
            <link>http://qt-project.org/forums/viewthread/17464</link>
            <author>xtingray</author>
            <description><![CDATA[Hi,

	Currently I&#8217;m facing this challenge:

	From two different sources (data structures) I&#8217;m getting two QGrahpicsItem objects and I need to find out whether they are copies of the same shape in my canvas or not. In other words, are these two variables pointing to the same object? How to know it?

	Thanks for any hint! :)]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17464</guid>
            <pubDate>Wed, 23 May 2012 22:04:52 GMT</pubDate>
        </item>
	

	</channel>
</rss>
