Hi,

the package is named libqtdeclarative4-particles on Sailfish. So you
have to install this package on the emulator.


Martin


2013/4/20, thuai <thuai...@gmail.com>:
> Hi martin,
>
> thk you!
>
> I want to run the SameGame on Sailfish emulator.
>
> I google this problem,
> get this http://qt-project.org/forums/viewthread/62
>
> it point out should install  'libqt4-declarative-particles'
>
> How to installed libqt4-declarative-particles?
> i didn't find this lib in SDK Control Center.
>
>
> 于 2013年04月20日 18:33, Martin Grimme 写道:
>> Hi,
>>
>> Sailfish does not support Qt 5 at the moment, so you should use the
>> SameGame example code from Qt 4.8 instead. Particles are supported by
>> the particle extension libqtdeclarative4-particles.
>>
>>
>> Martin
>>
>>
>> 2013/4/20, thuai <thuai...@gmail.com>:
>>> I'm tring to port the 'samegame' which is a example of qml, you can find
>>> the game source in the directory Qt installed.
>>> The path of the game source on my pc is
>>> /opt/Qt/Qt5.0.1/5.0.1/gcc_64/examples/declarative/samegame.
>>> And i copy the source to my new Sailfish project directory.
>>> And then i modify the code in main.cpp
>>>
>>> ' QScopedPointer<QDeclarativeView>
>>> view(Sailfish::createView("samegame.qml"));'
>>>
>>> run the project i modified.
>>>
>>> when i click the 'New Game' button, get these error messages
>>>
>>> error loading block component
>>> file:///opt/sdk/share/SimpleGame/qml/SamegameCore/BoomBlock.qml:43
>>> module "Qt.labs.particles" is not installed
>>>
>>> Does this error mean Sailfish not suport particles element of QML?
>>> Should i install some modules by SDK Control Center?
>>> what should I do to solved this problem?
>>>
>>> thks very much!
>>>
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>>
>
>
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to