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

You can add QML_ELEMENT automatic registration #3

Open
o2co2 opened this issue Jun 7, 2023 · 2 comments
Open

You can add QML_ELEMENT automatic registration #3

o2co2 opened this issue Jun 7, 2023 · 2 comments

Comments

@o2co2
Copy link

o2co2 commented Jun 7, 2023

You can add QML_ELEMENT QML_SINGLETON automatic registration. And there will be automatic code completion.
What you're doing is great.

@carlonluca
Copy link
Owner

What component are you referring to exactly?

@o2co2
Copy link
Author

o2co2 commented Jun 11, 2023

#define L_DECLARE_SETTING_BEGIN(classname, qsettings, section)
class classname : public QObject
{
private:
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
public: \

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

No branches or pull requests

2 participants