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

LNK2019: Unresolved external symbol QtNodes::CreateCommand in DropGraphicsView.cpp #2

Open
rachid-benabdelmalek opened this issue Jun 29, 2024 · 3 comments

Comments

@rachid-benabdelmalek
Copy link

rachid-benabdelmalek commented Jun 29, 2024

Hello, I would like to express my appreciation to the project owner for initiating such a valuable project. Currently, I am encountering a challenge involving unresolved linker errors (LNK2019) when attempting to utilize the CreateCommand constructor within DropGraphicsView.cpp. The full error message is :

DropGraphicsView.cpp.obj:-1: error: LNK2019: symbole externe non r‚solu "public: __cdecl QtNodes::CreateCommand::CreateCommand(class QtNodes::BasicGraphicsScene *,class QString,class QPointF const &)" (??0CreateCommand@QtNodes@@QEAA@PEAVBasicGraphicsScene@1@VQString@@AEBVQPointF@@@Z) r‚f‚renc‚ dans la fonction "public: void __cdecl DropGraphicsView::placeNodeInScene(class QString const &,class QPoint const &)" (?placeNodeInScene@DropGraphicsView@@QEAAXAEBVQString@@AEBVQPoint@@@Z)

Environment

Using Qt Creator for building with Qt 6.5.6 MSVC 2019 64-bit.

Additional Context

Commenting out this line resolves the issue. However, I miss the functionality of using TreeView to create a node.

@PabloPicose
Copy link
Owner

This error is related due to a build error in the QtNodes library in MSVC... is a linkage error, I will take a look at the QtNode lib and check if there is something related

@MachineVisionxiaotan
Copy link

I have also encountered it. Do you have a solution now?

@PabloPicose
Copy link
Owner

@rachid-benabdelmalek sorry for the delay, did you find the solution or what did you encounter?

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