plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Can' not compile on MacOS

Open Takhir1999 opened this issue 2 years ago • 3 comments

When I make pgmodeler... I have error: src/sampleplugin.h:54:30: error: unknown type name 'ActionId' virtual QAction *getAction(ActionId act_id) const;

Takhir1999 avatar Jun 05 '23 04:06 Takhir1999

Same here, on Ubuntu 22.04

#0 1443.6 In file included from src/sampleplugin.cpp:19:
#0 1443.6 src/sampleplugin.h:54:36: error: 'ActionId' has not been declared
#0 1443.6    54 |                 QAction *getAction(ActionId act_id) const override;
#0 1443.6       |                                    ^~~~~~~~

esaostring avatar Jun 06 '23 12:06 esaostring

If you are building pgModeler using the main branch use the same branch for plugins. Otherwise, the build will fail.

rkhaotix avatar Jun 06 '23 12:06 rkhaotix

Good point, I was trying to compile v1.0.4 tagged source.

esaostring avatar Jun 06 '23 13:06 esaostring