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

Trying to compile on windows 11 (QT5.15, Graphviz3.0) #13

Open
Frozaccio opened this issue Jun 6, 2022 · 2 comments
Open

Trying to compile on windows 11 (QT5.15, Graphviz3.0) #13

Frozaccio opened this issue Jun 6, 2022 · 2 comments

Comments

@Frozaccio
Copy link

Frozaccio commented Jun 6, 2022

Hello,
Thanks for the good work, I am interested in using graphviz inside QT.
Unfortunately, I have a link error, but I do not think it comes from the windows, QT or graphviz versions. There is a library I cannot find and I do not know what this library is:

main.obj:-1: error: LNK2019: unresolved external symbol "public: static struct QMetaObject const QGVScene::staticMetaObject" (?staticMetaObject@QGVScene@@2UQMetaObject@@b) referenced in function "public: static class QString __cdecl QGVScene::tr(char const *,char const *,int)" (?tr@QGVScene@@sa?AVQString@@PEBD0H@Z)

MainWindow.obj:-1: error: LNK2001: unresolved external symbol "public: static struct QMetaObject const QGVScene::staticMetaObject" (?staticMetaObject@QGVScene@@2UQMetaObject@@b)

Any idea where it comes from?

@qingshan-z
Copy link

I have encountered the same problem, how can I solve it

@nim65s
Copy link
Member

nim65s commented Nov 20, 2024

Hi,

I guess tihs is a visibility issue.
I can't provide windows support, but PR are welcome.

Simplest workaround would be for you to try this under WSL

@nim65s nim65s mentioned this issue Nov 20, 2024
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

3 participants