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

PLUGIN_CLASS_NAME and PLUGIN_TYPE are not defined #165

Closed
gen2brain opened this issue Jan 30, 2022 · 1 comment
Closed

PLUGIN_CLASS_NAME and PLUGIN_TYPE are not defined #165

gen2brain opened this issue Jan 30, 2022 · 1 comment

Comments

@gen2brain
Copy link

Usually, Qt plugins have that defined so it can be referenced when building apps with static plugins (i.e. Q_IMPORT_PLUGIN(QCleanlooksStylePlugin)), currently I don't see a way to include adwaita-qt style in build.
This is very easy to add with qmake but not sure about CMake, and if there is any Qt CMake extension for that.

@gen2brain
Copy link
Author

Never mind, I can just use add_definitions(-DQT_STATICPLUGIN). I see there is no support for the static build, I will hack something.

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