Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-29 Thread aaron.kennedy
Hi, We cannot reproduce this problem. Please file a bug with the complete C++ and QML source you are using, the sha1 (or package name) of the Qt you are using and the OS you are on. Cheers, Aaron On 27/08/10 10:33 PM, ext Sulamita Garcia sulam...@gmail.com wrote: On Fri, Aug 27, 2010

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-27 Thread Sulamita Garcia
Thanks for the answers, but the only thing that worked was changing the setSource to the absolute path: view.setSource(QUrl::fromLocalFile(/home/sulamita/src/samegame/samegame.qml)); Can anyone explain to me why? -- Brain: Prepare yourself for your 15 minutes of fame Pinky: after that, can I

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-27 Thread Kai Koehne
On 8/27/2010 12:45 PM, ext Sulamita Garcia wrote: Thanks for the answers, but the only thing that worked was changing the setSource to the absolute path: view.setSource(QUrl::fromLocalFile(/home/sulamita/src/samegame/samegame.qml)); Are you sure that you're running it really from within

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-27 Thread Sulamita Garcia
On Fri, Aug 27, 2010 at 12:39 PM, Kai Koehne kai.koe...@nokia.com wrote: Are you sure that you're running it really from within '/home/sulamita/src/samegame' ? I know, it's hard to believe, isn't? [sulam...@atomina samegame]$ pwd /home/sulamita/src/samegame [sulam...@atomina samegame]$ ls

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-27 Thread Artur Souza (MoRpHeUz)
On Fri, Aug 27, 2010 at 9:33 AM, Sulamita Garcia sulam...@gmail.com wrote: I know, it's hard to believe, isn't? I believe :P [sulam...@atomina samegame]$ pwd /home/sulamita/src/samegame [sulam...@atomina samegame]$ ls *.qml Block.qml  Button.qml  samegame.qml [sulam...@atomina samegame]$

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-24 Thread bea.lam
On 21/08/2010, at 1:12 AM, ext Sulamita Garcia wrote: Hi I'm following the SameGame example - http://doc.qt.nokia.com/4.7-snapshot/qml-advtutorial.html. The example runs fine with qmlviewer, but I'm trying to generate a release for it. I have a main.cpp like this: #include