FedoraQt / adwaita-qt

A style to bend Qt applications to look like they belong into GNOME Shell
Other
488 stars 48 forks source link

PLUGIN_CLASS_NAME and PLUGIN_TYPE are not defined #165

Closed gen2brain closed 2 years ago

gen2brain commented 2 years ago

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 commented 2 years ago

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