Online I found a lot of tutorials from Qt how to create a plugin like this. In my opinion there are too few examples. This is why I created this repository.
I created a Clock in qml with a second-, minute- and hour-clock-hand. This qml can get shipped to a testing-application and imported as a module with import ClockPlugin 1.0
. For this the plugin-folder has to be in the build-directory of the testing-application.
- Clone the repository
git clone https://github.com/MhouneyLH/qml_cpp_examples.git
- Install Qt-Creator and the Qt-Version 6.2.4
- Install MSVC2019
- Use the kit "
Qt 6.2.4 MSVC2019 64bit
", when selecting a kit in Qt-Creator
Contributions are always welcome! Please look at following commit-conventions, while contributing: https://www.conventionalcommits.org/en/v1.0.0/#summary 😃
- Fork the project.
- Pick or create an issue you want to work on.
- Create your Feature-Branch. (
git checkout -b feat/best_feature
) - Commit your changes. (
git commit -m 'feat: add some cool feature'
) - Push to the branch. (
git push origin feat/best_feature
) - Open a Pull-Request into the Develop-Branch.