[SailfishDevel] Qt.labs.particles not installed

Martin Grimme martin.grimme at gmail.com
Sat Apr 20 10:33:43 UTC 2013


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.cn at 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
>


More information about the Devel mailing list