Skip to content
Snippets Groups Projects

Simplay 2 demo project

This is just a simple demonstration of how one might use Qt6, specifically Qt 3D to programmatically generate, change, and display a 3D scene.

Screenshot

Prerequisites

  • pyenv (to install a specific Python version)
  • poetry (to manage dependencies)

Installation

  1. Use pyenv to install the Python version specified in the .python-version file:

    pyenv install
  2. Use poetry to create a virtual environment using this Python version:

    poetry env use $(pyenv which python)
  3. Use poetry to install the dependencies into the virtual environment:

    poetry install

Running the project

Use poetry to run the project with the Python version and dependencies installed in the virtual environment:

poetry run python main.py

License

The app is composed of many parts. See the version control log for a full list of contributors and modifications. Each part is protected by its own, individual copyright(s), but can be redistributed and/or modified under an open source license. License terms are available at the top of each file. Parts that do not explicitly include license text shall be assumed to be governed by the "GNU General Public License" as published by the Free Software Foundation -- either version 2 of the License, or (at your option) any later version (SPDX-License-Identifier: GPL-2.0-or-later). Parts that are not source code and do not include license text shall be assumed to allow the Creative Commons "Attribution-ShareAlike 4.0 International License" as an additional option (SPDX-License-Identifier: GPL-2.0-or-later OR CC-BY-SA-4.0). Full license texts are available with the source distribution.