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

Can' not compile on MacOS #25

Open
Takhir1999 opened this issue Jun 5, 2023 · 3 comments
Open

Can' not compile on MacOS #25

Takhir1999 opened this issue Jun 5, 2023 · 3 comments

Comments

@Takhir1999
Copy link

Takhir1999 commented Jun 5, 2023

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
Copy link

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
Copy link
Member

rkhaotix commented Jun 6, 2023

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

@esaostring
Copy link

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

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

4 participants
@rkhaotix @esaostring @Takhir1999 and others