Getting LNK2019 error on plugin compilation
-
and the manual desktop (default) panel,
-
any update?
-
Hi,
From the looks of it, you don't export any symbol from your library. This means that, on Windows, the linker won't find them.
-
@SGaist said in Getting LNK2019 error on plugin compilation:
This means that, on Windows, the linker won't find them.
Hello thanks for you answer, to be honest im quite newbie to qt and im not exactly got what you have suggested. You mean the compiler doesnt found qcadcore.lib,qcadgui.lib and qcadecmaapi.lib files in exampleplugin.pro file? And if so how can i solve it?
Thanks a lot for your help -
Did yes, they want to see on them.It's rather that they are not generated because no symbol were exported.
[edit: Something went wrong with the answer SGaist]
-
Sorry what do you mean?
I had .dll files from source code and used this method https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/ to create .lib files
-
Sorry what do you mean?
I had .dll files from source code and used this method https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/ to create .lib files
@wodasdsa You should read http://doc.qt.io/qt-5/sharedlibrary.html
-
i dont think the problem is in libraries i cant compile without them either..
-
Can you show the relevant header(s) content ?
-
Sure,
to see shared.pri you can check the following link,
https://github.com/qcad/qcad/blob/master/shared.priThanks
-
How can i do that? im newbie to qt and didnt understand most the terms used in that documentation..
-
Just follow the indications in the "Using Symbols from Shared Libraries" part.