https://github.com/jonaski/projectmtest
ProjectM Test Project for Qt
https://github.com/jonaski/projectmtest
opengl projectm qt qt6
Last synced: 2 months ago
JSON representation
ProjectM Test Project for Qt
- Host: GitHub
- URL: https://github.com/jonaski/projectmtest
- Owner: jonaski
- Created: 2024-06-30T13:43:04.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-30T22:04:48.000Z (11 months ago)
- Last Synced: 2025-03-07T02:15:17.583Z (2 months ago)
- Topics: opengl, projectm, qt, qt6
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProjectM Test Project
This is a simple test project to test ProjectM with Qt.
## Build
You can pass the following options to CMake:
### QT_VERSION_MAJOR
Set this to either 5 or 6.
### USE_QGLWIDGETIf building with Qt 5, you can set this to ON to use the old deprecated `QGLWidget` class.
### USE_PROJECTM4Either `ON` or `OFF`.
This will use the new ProjectM version 4, only a few presets works.
To build with ProjectM version 4 use: `USE_PROJECTM4=ON`.
### Build with Qt 5 and QGLWidget
cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_PROJECTM4=OFF -DUSE_QGLWIDGET=ON -DQT_VERSION_MAJOR=5
### Build with Qt 6 and QOpenGLWidget
cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_PROJECTM4=OFF -DUSE_QGLWIDGET=OFF -DQT_VERSION_MAJOR=6