<?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 Quick</title>
	<link>http://qt-project.org/forums/viewforum/12/</link>
	<description>RSS feed for latest threads in Qt Quick</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>Wed, 01 Sep 2010 20:17:50 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/forum/12" rel="self" type="application/rss+xml" />

    

	
        <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>Non&#45;visual object in QML</title>
            <link>http://qt-project.org/forums/viewthread/17436</link>
            <author>imihajlov</author>
            <description><![CDATA[Is it possible to make a non&#45;visual QML component which holds properties and nested elements? I&#8217;ve tried the following code, but it&#8217;s an error &#8220;Component elements may not contain properties other than id&#8221;:
Component &#123;
&amp;nbsp; property int aProperty: 5
&amp;nbsp; onAPropertyChanged: &#123;
&amp;nbsp; &amp;nbsp; someCode&#40;&#41;;
&amp;nbsp; &#125;
&amp;nbsp; NestedObject &#123;
&amp;nbsp; &#125;
&#125;


	I&#8217;ve also tried QtObject instead of Component, but there is another error with it: &#8220;Cannot assign to non&#45;existent default property&#8221;.
Item works fine, but it is visual. I don&#8217;t need visual.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17436</guid>
            <pubDate>Wed, 23 May 2012 09:59:05 GMT</pubDate>
        </item>
	
        <item>
            <title>QZXing compiling error for symbian</title>
            <link>http://qt-project.org/forums/viewthread/17435</link>
            <author>Ravinder</author>
            <description><![CDATA[Hi All,

	I am working on BarcodeScanner demo using QZXing Library in my QML project using Qt Quick . I had followed the procedure for using QZXing from here: https://projects.developer.nokia.com/QZXing/wiki  . The desktop target is working fine . But when it comes for a symbian target it shows QZXing.h not found. I think there is a error in my .pro file where library is declared for symbian target.Here is the code snip set for symbian targer from my .pro file:
symbian&#123;
&amp;nbsp; &amp;nbsp; LIBS += &#45;lqzxing
&amp;nbsp; &amp;nbsp; customrules.pkg_prerules &amp;nbsp;= \
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;;QZXing&amp;quot; \
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;@\&amp;quot;$$(EPOCROOT)Epoc32/InstallToDevice/QZXing_selfsigned.sis\&amp;quot;,(0xE618743C)&amp;quot;\
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot; &amp;quot;
&amp;nbsp; &amp;nbsp; DEPLOYMENT += customrules
&#125;

Anyone have any idea how to do that. Thanks in advanced for your ideas.

	[edit]code wrappings added, koahnig]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17435</guid>
            <pubDate>Wed, 23 May 2012 09:28:51 GMT</pubDate>
        </item>
	
        <item>
            <title>QML &#45; extending an existing item</title>
            <link>http://qt-project.org/forums/viewthread/17421</link>
            <author>Peppy</author>
            <description><![CDATA[How to extend an existing WebView in QML (I mean adding background in C++) and still be able to use that in QML ? 
Multiinheritance of QWebView and DeclarativeItem ?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17421</guid>
            <pubDate>Tue, 22 May 2012 17:06:36 GMT</pubDate>
        </item>
	
        <item>
            <title>Splashscreen not shown, only when event queue is running</title>
            <link>http://qt-project.org/forums/viewthread/17417</link>
            <author>bkamps</author>
            <description><![CDATA[Hi,

	I want to use a splash screen while starting my application. I have found the following guide: http://www.developer.nokia.com/Community/Wiki/Implementing_a_Splash_Screen_with_Qt_Quick

	Basicly I have to do the following:

	Show splash screen:
QDeclarativeComponent splashScreenComponent&#40;mView&#45;&amp;gt;engine&#40;&#41;, QUrl::fromLocalFile&#40;&amp;quot;MySplashScreen.qml&amp;quot;&#41;&#41;;
QDeclarativeItem splashScreenItem = qobject_cast&amp;lt;QDeclarativeItem*&amp;gt;&#40;splashScreenComponent.create&#40;&#41;&#41;;
mView&#45;&amp;gt;scene&#40;&#41;&#45;&amp;gt;addItem&#40;splashScreenItem&#41;; // The view takes ownership


	Then do some load stuff, for example loading the BIG main qml file:
QDeclarativeComponent component&#40;mView&#45;&amp;gt;engine&#40;&#41;, QUrl::fromLocalFile&#40;&amp;quot;main.qml&amp;quot;&#41;&#41;
QDeclarativeItem *mainItem = qobject_cast&amp;lt;QDeclarativeItem*&amp;gt;&#40;component.create&#40;&#41;&#41;;
mView&#45;&amp;gt;scene&#40;&#41;&#45;&amp;gt;addItem&#40;mainItem&#41;; // The view takes ownership


	The problem is that I do not see the splash screen. Only when I start the Qt event queue:

	lApp.exec&#40;&#41;;


	This is not logical (for this splashscreen thing to work) because the main event queue is blocking.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17417</guid>
            <pubDate>Tue, 22 May 2012 16:21:23 GMT</pubDate>
        </item>
	
        <item>
            <title>Using C++ Library in QML</title>
            <link>http://qt-project.org/forums/viewthread/17391</link>
            <author>Ravinder</author>
            <description><![CDATA[Hi All,

	I want to use QZXing  in my QML project for barcode scanning. Anyone have any idea how to use that. Thanx in advance.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17391</guid>
            <pubDate>Mon, 21 May 2012 15:12:56 GMT</pubDate>
        </item>
	
        <item>
            <title>Centering of GridView and wrap around</title>
            <link>http://qt-project.org/forums/viewthread/17390</link>
            <author>TilmanK</author>
            <description><![CDATA[Hi there,

	I&#8217;m quite new to QtQuick and experimenting a little bit for now. I have a GridView which displays nine Rectangles in a 3&#215;3 matrix. As a default the middle element is set as active focus. Now I want to achieve two things (and really don&#8217;t know how to do that):

	1. I want the Grid to be centered so that the focus item is always at the middle of my screen. Is there some easy way instead of doing this with a lot of Javascript and x and y shifting?

	2. I want to have a wrap around so that the elements which are out of screen i.e. at the left side reappear on the right side of my screen like this:

	1 2 3   
4 5 6   
7 8 9 

	&#45;&amp;gt;

	2 3 1
5 6 4
8 9 7    

	That application only has to be controlled with keys&#8230;

	I&#8217;m really running out of ideas (which are quite few for now).

	Thanks in advance!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17390</guid>
            <pubDate>Mon, 21 May 2012 14:45:55 GMT</pubDate>
        </item>
	
        <item>
            <title>Pass object pointer throught c++  dataModel</title>
            <link>http://qt-project.org/forums/viewthread/17380</link>
            <author>Merinas</author>
            <description><![CDATA[Hi, 

   I&#8217;m writting a C++ dataModel. I follow the documentation provided, so derived from QAbstractListModel. I defiend some role, one of them must be a pointer to a register type. But by passing throught the Qvariant, the QML side lose the type and it never recognise the true type. 
Did you have a solution or an idea ? 

	Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17380</guid>
            <pubDate>Mon, 21 May 2012 11:25:23 GMT</pubDate>
        </item>
	
        <item>
            <title>Image Gallery like bottom image gallery in android.</title>
            <link>http://qt-project.org/forums/viewthread/17375</link>
            <author>Ravinder</author>
            <description><![CDATA[Hi All,

	I am new in Qt Quick development. I want to achieve the image gallery shown in the picture embedded in the URL using QML. In Android it is quite simple but i did not found any solution in QML.  the gallery shown in the image at the top is scrollable . Thnx in advance. 

	!http://www.google.co.in/imgres?hl=en&amp;amp;sa=X&amp;amp;biw=1366&amp;amp;bih=667&amp;amp;tbm=isch&amp;amp;prmd=imvnsa&amp;amp;tbnid=A5NckTiWcjsUrM:&amp;amp;imgrefurl=http://arunkumarpd.blogspot.com/2012/03/android&#45;gallery&#45;imageview&#45;example.html&amp;amp;docid=pMDQ_PYUP7O8mM&amp;amp;imgurl=http://4.bp.blogspot.com/&#45;fkTkVBcruzU/T08j77fi4sI/AAAAAAAAAYk/THFG7XdQ3Fs/s1600/imagegallery2.png&amp;amp;w=320&amp;amp;h=480&amp;amp;ei=vuW5T8yhN8mqrAfOnJyDCA&amp;amp;zoom=1&amp;amp;iact=hc&amp;amp;vpx=512&amp;amp;vpy=279&amp;amp;dur=4266&amp;amp;hovh=275&amp;amp;hovw=183&amp;amp;tx=87&amp;amp;ty=70&amp;amp;sig=104928161159544841771&amp;amp;page=1&amp;amp;tbnh=160&amp;amp;tbnw=107&amp;amp;start=0&amp;amp;ndsp=25&amp;amp;ved=1t:429,r:18,s:0,i:109()!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17375</guid>
            <pubDate>Mon, 21 May 2012 09:06:42 GMT</pubDate>
        </item>
	
        <item>
            <title>How to create .ts file for QML in Visual Studio with Qt PlugIn</title>
            <link>http://qt-project.org/forums/viewthread/17374</link>
            <author>durocket</author>
            <description><![CDATA[I developed my project in Visual Studio with Qt Plugin,  the user interface is implemented with QML, all QML files are added into .qrc file and loaded with resource system.
for example: MyUI.qrc
&amp;lt;!DOCTYPE RCC&amp;gt;&amp;lt;RCC version=&#8220;1.0&#8221;&amp;gt;
 &amp;lt;qresource&amp;gt;
     &amp;lt;file&amp;gt;home.qml&amp;lt;/file&amp;gt;
     &amp;lt;file&amp;gt;import.qml&amp;lt;/file&amp;gt;
 &amp;lt;/qresource&amp;gt;
 &amp;lt;/RCC&amp;gt;

	then in main.cpp, I tried to load the .qrc file with below code:
Q_INIT_RESOURCE(MyUI);

	Everything works well, but when I tried to create .ts file with menu item &#8220;Qt&#45;&amp;gt;Create new Translation File&#8221;,  the text marked with &#8220;qstr&#8221; can not be extracted from QML file.
What is the possible solution for this issue?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17374</guid>
            <pubDate>Mon, 21 May 2012 08:42:21 GMT</pubDate>
        </item>
	
        <item>
            <title>C++/Qt3d binding Sequential Animation based on a variable</title>
            <link>http://qt-project.org/forums/viewthread/17362</link>
            <author>Develman</author>
            <description><![CDATA[Hi all,

	I am new in qml and qt3d development I have found a problem that so far I haven&#8217;t overcome and it is driving me nuts. My intention is to have a Animation or transformation that is continuously updated by a variablle.

	I have successfully loaded a .stl file using qt3d which I can apply a few transformations and animations, I have some data that comes from a C++ class that is being received properly according to the values displayed. However if I enter in an infinite loop SequentialAnimation I would expect my animation to be updated by the new values that I am receiving periodically, as I am printing them out I can see they are different but when I apply a rotation it seems that only uses the one that read only once when it was loaded. 
I have also tried to create a java function that returned the updated value by calling it in my to: NumberAnimation, however it didn&#8217;t work. The behaviour was identical as shown bellow, it rotates only once until it reaches the value initially loaded. 
I would truly appreciate any inputs on this,  I wonder if  NumberAnimation only accepts constant values and probably there could be a better way to  do it.

	Thank you in advance,

	Here is my code:

	Image &#123;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; source: &amp;quot;background.jpg&amp;quot;
&amp;nbsp; &amp;nbsp; width: 800
&amp;nbsp; &amp;nbsp; height: 600
&amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; property variant m_external: 10 //Periodically updated variable
&amp;nbsp;
&amp;nbsp; &amp;nbsp; Viewport
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width: 800
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height: 600
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;camera: Camera &#123; eye: Qt.vector3d&#40;210,100,190&#41;&#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Item3D
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;id: y6
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mesh: Mesh &#123; source : &amp;quot;y6.stl&amp;quot;; options: &amp;quot;ForceSmooth&amp;quot;&#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Light &#123;&#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;transform: &#91;
&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; Rotation3D &#123;id: swivel1; angle: &#45;90; axis: Qt.vector3d&#40;1,0,0&#41;&#125;,
&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; Rotation3D &#123;id: swivel2; angle: 0; axis: Qt.vector3d&#40;0,1,0&#41;&#125;,
&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; Rotation3D &#123;id: swivel3; angle: 0; axis: Qt.vector3d&#40;0,0,1&#41;&#125;
&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; &#93;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SequentialAnimation
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#123;
&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; running: true
&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; loops: Animation.Infinite
&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; NumberAnimation &#123;target: swivel2; property: &amp;quot;angle&amp;quot;; to : m_external; duration: 1000; easing.type: &amp;quot;OutQuad&amp;quot;&#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#125;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&#125;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17362</guid>
            <pubDate>Sun, 20 May 2012 13:18:46 GMT</pubDate>
        </item>
	
        <item>
            <title>Did anybody used virtual keyboard with TextInput ?</title>
            <link>http://qt-project.org/forums/viewthread/17361</link>
            <author>aabc</author>
            <description><![CDATA[Did anybody used virtual keyboard with TextInput ?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17361</guid>
            <pubDate>Sun, 20 May 2012 13:12:29 GMT</pubDate>
        </item>
	
        <item>
            <title>QCoreApplication::sendEvent does not work with QML</title>
            <link>http://qt-project.org/forums/viewthread/17360</link>
            <author>aabc</author>
            <description><![CDATA[I use QCoreApplication::sendEvent (QObject * receiver, QEvent * event) to send KeyEvent to QML TextInput.
For sone reason TextInput does not catch the event.
Anyone know why ?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17360</guid>
            <pubDate>Sun, 20 May 2012 13:10:17 GMT</pubDate>
        </item>
	
        <item>
            <title>Does Qt Quick Components is sutible for embedded linux or just for meego and symbian ?</title>
            <link>http://qt-project.org/forums/viewthread/17359</link>
            <author>aabc</author>
            <description><![CDATA[Does Qt Quick Components is sutible for embedded linux or just for meego and symbian ?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17359</guid>
            <pubDate>Sun, 20 May 2012 10:05:39 GMT</pubDate>
        </item>
	
        <item>
            <title>One listview, multiple XmlListModels</title>
            <link>http://qt-project.org/forums/viewthread/17355</link>
            <author>qtdeveloper1</author>
            <description><![CDATA[Hi, 

	i searched the forum but didn&#8217;t find anything that fits to my problem. Is it possible to have more than one XmlListModel attached to a listview?

	Do i have to make something with c++ or is it possible with qml?

	Thank you.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17355</guid>
            <pubDate>Sun, 20 May 2012 01:10:04 GMT</pubDate>
        </item>
	

	</channel>
</rss>
