Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making a plugin using QtCreator #116

Closed
Pagalom opened this issue Jun 24, 2021 · 4 comments
Closed

making a plugin using QtCreator #116

Pagalom opened this issue Jun 24, 2021 · 4 comments
Labels
question Further information is requested

Comments

@Pagalom
Copy link

Pagalom commented Jun 24, 2021

May i miss something but the old way to make a plugin in C was to install wizards like said in the tutorial, but I'm unable to find it.
Is their something i miss ? Did the way to do that improved ?

I made some researches and found this, from Adam. But i can't find the file in the Code part.

Can someone help me on this point ?

Thanks !

@Pagalom Pagalom changed the title makin a plugin using QtCreator making a plugin using QtCreator Jun 24, 2021
@hello-adam
Copy link
Member

hello-adam commented Jun 24, 2021

Yes, sorry, the video documentation for the plugin development is out of date. I'll probably have some updates in a month or so.

Since transitioning to CMake (vs qmake), I found it was easier to have the plugin templates as "cookiecutters" instead of Qt Creator wizards. Here is the repository with the cookiecutters and instructions on how to use them: https://github.com/Mahlet-Inc/hobbits-cookiecutters

If you wanted to make a plugin within the hobbits project (src/hobbits-plugins/<plugin-type>) like the old wizards, you would use the "core-*" cookiecutters. There are also cookiecutters for python plugins, and for C plugins being developed outside of the hobbits source tree.

I'll leave this issue open for a little bit in case you have any more questions. I want to make it easy to make plugins, so please complain about any difficulties you encounter!

@hello-adam hello-adam added the question Further information is requested label Jun 24, 2021
@Pagalom
Copy link
Author

Pagalom commented Jun 24, 2021

thanks for your fast response !
i'll try it and come back in 24h to ask my potential questions.

thanks again and see you tomorrow

@Pagalom
Copy link
Author

Pagalom commented Jun 29, 2021

hello, sorry i'm late !
I didn't have the time to try it, if you need to close this issue and i need some help, may i open a new one ?

@hello-adam
Copy link
Member

Yes, feel free to open more issues if you ever have a question or problem.

Since I addressed your initial error, and the required documentation updates fall under the scope of #77 , I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants