Can' not compile on MacOS #25

Open
opened 2023-06-05 04:13:09 +00:00 by Takhir1999 · 3 comments
Takhir1999 commented 2023-06-05 04:13:09 +00:00 (Migrated from github.com)

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

When I make pgmodeler... I have error: src/sampleplugin.h:54:30: error: unknown type name 'ActionId' virtual QAction *getAction(ActionId act_id) const;
esaostring commented 2023-06-06 12:14:07 +00:00 (Migrated from github.com)

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       |                                    ^~~~~~~~
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 | ^~~~~~~~ ```
rkhaotix commented 2023-06-06 12:20:42 +00:00 (Migrated from github.com)

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

If you are building pgModeler using the ```main``` branch use the same branch for plugins. Otherwise, the build will fail.
esaostring commented 2023-06-06 13:15:04 +00:00 (Migrated from github.com)

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

Good point, I was trying to compile `v1.0.4` tagged source.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pgmodeler/plugins#25
No description provided.