Warning, /education/gcompris/external/qml-box2d/README is written in an unsupported language. File is not indexed.
0001 QML Box2D plugin 0002 ---------------- 0003 0004 This plugin is meant to be installed to your Qt/imports directory, or shipped 0005 in a directory of which the parent is added as import path. 0006 0007 The goal is to expose the functionality of Box2D as QML components, in order 0008 to make it easy to write physics based games in QML. 0009 0010 0011 INSTALLING 0012 0013 qmake 0014 make 0015 make install (goes to Qt's import path, run with sudo if necessary) 0016 0017 0018 RUNNING THE EXAMPLE 0019 0020 qmlscene examples/boxes/boxes.qml 0021 0022 0023 DEPLOYMENT 0024 0025 Support for deployment to mobile devices like the N900 and N8 is being worked 0026 on. 0027 0028 0029 USING QT CREATOR 0030 0031 For running you can use a "Custom Executable" configuration set to run 0032 "qmlscene" with the right parameters. 0033 0034 When you have write permissions to Qt's import path, it can be convenient to 0035 add a deployment step to your run settings: 0036 0037 * Go to Projects -> box2d -> Run Settings 0038 * Choose Add Deploy Step -> Make 0039 * Enter "install" under "Make arguments" 0040 0041 This will make sure that before running, the version of the plugin is updated 0042 in Qt's import path.