Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.0 RC
-
None
Description
Trying to build the Document Viewer Application Example fails with MSVC
mocs_compilation.cpp.obj : error LNK2019: unresolved external symbol "private: void __cdecl PdfViewer::onActionOpenTriggered(void)" (?onActionOpenTriggered@PdfViewer@@AEAAXXZ) referenced in function "public: virtual int __cdecl PdfViewer::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@PdfViewer@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) mocs_compilation.cpp.obj : error LNK2019: unresolved external symbol "private: void __cdecl PdfViewer::onActionQuitTriggered(void)" (?onActionQuitTriggered@PdfViewer@@AEAAXXZ) referenced in function "public: virtual int __cdecl PdfViewer::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@PdfViewer@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) app\pdfviewer.dll : fatal error LNK1120: 2 unresolved externals
And indeed, while onActionQuitTriggered, onActionOpenTriggered methods are declared in pdfviewer.h, they don't seem to be defined anywhere.
Attachments
Issue Links
- duplicates
-
QTBUG-117694 Document Viewer example could not be build on Qt 6.7.0
- Closed
- is duplicated by
-
QTBUG-117691 DocumentViewer example does not find plugins at runtime
- Closed
For Gerrit Dashboard: QTBUG-117690 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
508403,1 | DocumentViewer: Remove undefined methods from PdfViewer class declaration | dev | qt/qtdoc | Status: ABANDONED | 0 | 0 |