You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adazem009 edited this page Apr 14, 2024
·
2 revisions
Installing Qt
ScratchCPP Player needs Qt 6.6. Use the official Qt installer (you'll need a Qt account) to install it.
Make sure to check the Qt Image Formats module and install MinGW in the installer.
Building (Qt Creator)
Clone the ScratchCPP Player repository. If you don't have git installed, you can use git for Windows or applications such as GitHub Desktop.
git clone https://github.com/scratchcpp/scratchcpp-player --recurse-submodules
cd scratchcpp-player
Open the CMakeLists.txt file in the cloned repository in Qt Creator and go to the Projects tab. Make sure your kit is enabled for the project.
To reduce build time, disable unit tests (you might need them if you're going to contribute to the project). To do this, type unit into the Filter box and uncheck the SCRATCHCPP_PLAYER_BUILD_UNIT_TESTS option. Then click on the Run CMake button.
To build and run the application, click on the play button in the bottom left corner.