CefView / QCefView

A Qt Widget encapsulated CEF view based on QWidget
https://cefview.github.io/QCefView/
GNU Lesser General Public License v2.1
527 stars 137 forks source link

Error during build step VS 2022 #189

Closed Zusykss closed 1 year ago

Zusykss commented 1 year ago

5> mocs_compilationRelease.obj: error LNK2019: unresolved reference to external symbol "declspec(dllimport) public: static struct QMetaObject const QWindow::staticMetaObject" (imp?staticMetaObject@QWindow@@2UQMetaObject@@B) in function "int cdecl qRegisterNormalizedMetaType< class QWindow >(class QByteArray const &,class QWindow ,enum QtPrivate::MetaTypeDefinedHelper<class QWindow ,1>::DefinedType)" (??$qRegisterNormalizedMetaType@PAVQWindow@@@@@YAHABVQByteArray@@PAPAVQWindow@@ W4DefinedType @ ?$MetaTypeDefinedHelper@PAVQWindow@@$00@QtPrivate@@@Z). 5> mocs_compilation_Release.obj: error LNK2019: reference to unresolved external symbol "declspec(dllimport) public: static struct QMetaObject const QAction::staticMetaObject" (_imp?staticMetaObject@QAction@@2UQMetaObject@@B) in function "int __cdecl qRegisterNormalizedMetaType< QAction class >(QByteArray class const &,QAction class ,enum QtPrivate::MetaTypeDefinedHelper<QAction class ,1>::DefinedType)" (??$qRegisterNormalizedMetaType@PAVQAction@@@@YAHABVQByteArray@@PAPAVQAction@@W4DefinedType @?$MetaTypeDefinedHelper@PAVQAction@@$00@QtPrivate@@@Z). 5> D:\cxx\QCefView\QCefView.build\windows.x86\output\Release\bin\QCefView.dll: fatal error LNK1120: unresolved external files: 381 Screenshot_2

tishion commented 1 year ago

no detailed information.