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

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

    
	<channel>

	<title>Qt DevNet forums: Qt in Education</title>
	<link>http://qt-project.org/forums/viewforum/19/</link>
	<description>RSS feed for latest threads in Qt in Education</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>Tue, 08 May 2012 21:56:27 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/forum/19" rel="self" type="application/rss+xml" />

    

	
        <item>
            <title>[solved] error with connecting functions to button</title>
            <link>http://qt-project.org/forums/viewthread/28108</link>
            <author>sarahjohn</author>
            <description><![CDATA[Hi..
Myself trying to write a program in Qt connecting a function to a button in Qt5.
#include &amp;lt;QApplication&amp;gt;
#include &amp;lt;QtGui&amp;gt;
#include &amp;lt;QPushButton&amp;gt;
static void insert&#40;&#41;
&#123;
qDebug&#40;&#41; &amp;lt;&amp;lt; &amp;quot;pressed&amp;quot;;
&#125;
&amp;nbsp;
&amp;nbsp;
int main&#40;int argc,char *argv&#91;&#93;&#41;
&#123;
QApplication app&#40;argc,argv&#41;;
QPushButton *button=new QPushButton&#40;&amp;quot;button&amp;quot;&#41;;
button&#45;&amp;gt;setGeometry&#40;50,100,150,80&#41;;
QObject::connect&#40;button,&amp;amp;QPushButton::clicked,insert&#40;&#41;&#41;;
button&#45;&amp;gt;show&#40;&#41;;
&#125;


	But I am getting errors like
main.cc:23:39: error: within this context
main.cc:23:55: error: invalid use of void expression
make: *** &#91;main.o&#93; Error 1


	Please help&#8230;

	[code tags and solved, added, koahnig]]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28108</guid>
            <pubDate>Fri, 24 May 2013 07:04:00 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt</title>
            <link>http://qt-project.org/forums/viewthread/28071</link>
            <author>sarahjohn</author>
            <description><![CDATA[Hi
Myself a newbie in Qt.I have a code which is defined in a namespace called criket.now i am trying to develop an application which uses a function in criket.How can i call the function in Qt.do i need to write something in .pro file regarding this namespace?How the application get known about this specific namespace criket???]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/28071</guid>
            <pubDate>Thu, 23 May 2013 10:36:44 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>Building a qt application</title>
            <link>http://qt-project.org/forums/viewthread/27993</link>
            <author>sarahjohn</author>
            <description><![CDATA[Hi,

	Myself trying to build an application in Qt5.It is a simple application creating some PushButtons.But when i tried to run the application I am getting warnings like
QXcbConnection: Failed to initialize XRandr
Qt at&#45;spi: error getting the accessibility dbus address:  &#8220;Not connected to D&#45;Bus server&#8221; 
Accessibility DBus not found. Falling back to session bus.
Could not connect to DBus.
Could not connect to dbus. 

	I have included some files in the INCLUDEPATH of the .pro file.What may be the reason behind this?Please help..]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/27993</guid>
            <pubDate>Tue, 21 May 2013 10:30:58 GMT</pubDate>
        </item>
	
        <item>
            <title>A free book on Qt5</title>
            <link>http://qt-project.org/forums/viewthread/27922</link>
            <author>woxuxow</author>
            <description><![CDATA[Is there a free book available (released) for on Qt5?

	like:
C++ GUI Programming with Qt 4
The Book of Qt 4 The Art of Building Qt Applications
An Introduction to Design
Patterns in C++ with Qt 4]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/27922</guid>
            <pubDate>Sat, 18 May 2013 20:16:02 GMT</pubDate>
        </item>
	
        <item>
            <title>Under Win7 64 bit, cannot add mysql driver.</title>
            <link>http://qt-project.org/forums/viewthread/27579</link>
            <author>zycycz</author>
            <description><![CDATA[Under Win7 64 bit, cannot add mysql driver.
I use 32Bit qt and 32 bit mysql, build mysql driver ok, QSqlDatabase::drivers() can see &#8220;QMYSQL&#8221;, but QSqlDatabase::addDatabase(&#8220;QMYSQL&#8221;) failed.
I copied the libmysql.dll to C:\Windows\System32, still fail.

	I succeed connect mysql under Win7&#45;32bit.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/27579</guid>
            <pubDate>Wed, 08 May 2013 16:30:34 GMT</pubDate>
        </item>
	
        <item>
            <title>OpenGL Tutorial Release 1.0 by Digia, Qt Learning</title>
            <link>http://qt-project.org/forums/viewthread/26144</link>
            <author>amund_l</author>
            <description><![CDATA[The OpenGL Tutorial [qt&#45;project.org] (dated February 28, 2013) provided is a excellent introduction to OpenGL using the Qt framework. However, the document has some inconsistencies regarding the shaders. I can&#8217;t find any other ways of giving feedback other than posting here:

	Edit:
The document does not state what version of Qt it is based on, but I am using Qt 5.0.1. This of course implies the use of OpenGL ES, and I would assume that a tutorial published on February 28th 2013 was using Qt 5.0.1. The source code examples  referred to in the documents have however problems compiling in Qt 5.0.1 due to the shaders.  

	Section 3.1, page 20: paragraph states: &#8220;.., the vertex variable needs to be declared as an attribute vec4.&#8221; But in the following source code it is declared as: in vec4 vertex;, and this do not compile (QOpenGLShaderProgram). It should be attribute vec4 vertex; 

	Same section and page: paragraph states: &#8220;The main() function the sets the built in hl_FragColor output variable&#8230;&#8221;. First, it is gl_FragColor. Secondly, the following source code is given in the document:
uniform vec4 color;
out vec4 fragColor;
void main&#40;void&#41;
&#123;
&amp;nbsp; fragColor = color;
&#125;


	This results in a compiling error when calling QOpenGLShaderProgram.addShaderFromSourceCode(QOpenGLShader::Fragment,&#8230;. 
It should be:
uniform mediump vec4 color;
void main&#40;void&#41;
&#123;
&amp;nbsp; gl_FragColor = color;
&#125;


	As the document is self is pointing out, functions in GLSL need to specify in/out, but this do not apply for the main&#45;function.
The same errors occur in the shaders given in section 3.3 page 27, section 3.4 page 30 and section 3.5 pages 34&#45;35.

	Luckily, I saw it right away, but as an introduction tutorial it should be corrected.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/26144</guid>
            <pubDate>Wed, 27 Mar 2013 10:56:13 GMT</pubDate>
        </item>
	
        <item>
            <title>Does QT can be installed on UBUNTU</title>
            <link>http://qt-project.org/forums/viewthread/25531</link>
            <author>mythili</author>
            <description><![CDATA[Hi,
 I want to install QT 4.8 on UBUNTU. If its possible, please tell me from where i can downlad and  how to install.

	Thanks &amp;amp; Regards,
Mythili.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/25531</guid>
            <pubDate>Fri, 08 Mar 2013 12:48:22 GMT</pubDate>
        </item>
	
        <item>
            <title>Problems with videos not loading</title>
            <link>http://qt-project.org/forums/viewthread/25443</link>
            <author>dangets</author>
            <description><![CDATA[I&#8217;m somewhat sure this isn&#8217;t an issue on my end, but I&#8217;m willing to try anything.  I am unable to view or download videos from the video tutorials page.  For example:  http://qt&#45;project.org/videos/watch/qt_quick_introduction_to_qt_quick_part_1_4

	I see a large white area where the video should be, right clicking on that area brings up a &#8216;about shockwave flash&#8217; menu.  I am able to watch youtube videos and even videos on the Qt homepage (e.g. Livecoding effects vid on http://qt&#45;project.org/)  I am also unable to use the download link for the previous intro to qt quick (http://download.qt.nokia.com/videos/DevDays2010/TrainingDay/DevDays2010_&#45;_Qt_Quick_2_User_Interaction_User_Input_and_States.mp4) getting a 404 error.

	I am running Linux, viewing the page in Chromium (v.25), using the chrome&#45;pepper flash plugin

	Thanks!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/25443</guid>
            <pubDate>Tue, 05 Mar 2013 19:28:03 GMT</pubDate>
        </item>
	
        <item>
            <title>Offline access to videos</title>
            <link>http://qt-project.org/forums/viewthread/23719</link>
            <author>amandegar</author>
            <description><![CDATA[HI:

	I would like to know, is there any possibility to have qt video for offline learning?
Is there any commercial DVD which has complete videos or how can i download all of them?

	regards,]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/23719</guid>
            <pubDate>Sun, 13 Jan 2013 14:50:14 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt Elearning</title>
            <link>http://qt-project.org/forums/viewthread/23099</link>
            <author>amandegar</author>
            <description><![CDATA[Hi:

	Is there any Qt online course on Elearning system&#8230;
I saw the videos and they were very useful.. but i want the whole course with syllabus and certificate.

	Regards,]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/23099</guid>
            <pubDate>Thu, 27 Dec 2012 10:17:39 GMT</pubDate>
        </item>
	
        <item>
            <title>Advanced Book</title>
            <link>http://qt-project.org/forums/viewthread/23098</link>
            <author>amandegar</author>
            <description><![CDATA[Hi:

	I would like to know, is there any advanced book whick focuse on qt subject and design, specially thread, signal slot mechanism and event system?
I like to understand qt internal mechanism, many books partially mentoined these subject and designed for rapid learning&#8230; 
I need more detail about qt model&#8230;

	Regards,]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/23098</guid>
            <pubDate>Thu, 27 Dec 2012 10:08:39 GMT</pubDate>
        </item>
	
        <item>
            <title>MVC vs Observer</title>
            <link>http://qt-project.org/forums/viewthread/21463</link>
            <author>Mohammed Thehseen Shah</author>
            <description><![CDATA[Can anyone explain the similarities and differences between the mvc pattern and the observer pattern and how they are implemented within the Qt framework?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/21463</guid>
            <pubDate>Sun, 28 Oct 2012 00:01:38 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt load 3Dmodel</title>
            <link>http://qt-project.org/forums/viewthread/21450</link>
            <author>XLeopard</author>
            <description><![CDATA[How can I use Qt to load a 3D model. Someone told me that Qt3D helps. But I did&#8217;t learn QML before. Is there any other solution?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/21450</guid>
            <pubDate>Sat, 27 Oct 2012 09:08:38 GMT</pubDate>
        </item>
	
        <item>
            <title>some suggestions</title>
            <link>http://qt-project.org/forums/viewthread/19776</link>
            <author>xie_jiuan008</author>
            <description><![CDATA[【From China】
I really want that the ui could be changed with constructe function，or the constructe function will change as the ui manually changed.They should be the in time 同步的！]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/19776</guid>
            <pubDate>Wed, 22 Aug 2012 19:46:18 GMT</pubDate>
        </item>
	

	</channel>
</rss>