Krish

My Activity

Season of KDE - Week 0

Getting started with GCompris


Get the Gcompris code from KDE Git repository

$ git clone git@github.com:bdoin/GCompris-qt.git

$ cd GCompris-qt

Create a branch for your development

$ git checkout -b exercise
  • Start QtCreator and open the project file CmakeLists.txt at the root of the source code.

Alt text

  • Run CMake without any arguments.

Alt text

Create a new activity named “my_new_activity”

$ cd src/activities

$ ./createit.sh 'my_new_activity'
  • Compile GCompris again in QtCreator, and check ‘my_new_activity’ is present.

  • You can search for code examples in other activities and check the Qml getting started. Modify the activity and run to check if it works.

  • If you add resources in your activity’s resource directory you must run cmake again.

<< Older
Newer >>