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

Qt Generator: Deprecated symbols #19656

Open
PatrickZirker opened this issue Sep 23, 2024 · 0 comments
Open

Qt Generator: Deprecated symbols #19656

PatrickZirker opened this issue Sep 23, 2024 · 0 comments

Comments

@PatrickZirker
Copy link

On a project that is natively build on many platforms we ran into an issue with mingw and the Moc-generator where the pattern

Q_SIGNALS

Q_DECL_DEPRECATED_X("dont use me!")
fooE(...);
fooError(...);

Q_DECL_DEPRECATED_X("dont use me!"
barE(...);
barError(...);

is dropping an 'Parse error on ";"' for the first fooE line.

I think its the Qts macros fault, I had to clean up the code by scripts which worked well. Could we have a config flag to even have the additional 2 lines for the legacy purpose, since it reduces also the runtime code as well?

@wing328 wing328 transferred this issue from OpenAPITools/openapi-generator-cli Sep 23, 2024
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

1 participant