Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.0
Description
Two places define a QLoggingCategory called "qLcLink" in global scope:
- https://github.com/qt/qtwebengine/blob/v6.7.0/src/pdf/qpdflinkmodel.cpp#L17
- https://github.com/qt/qtwebengine/blob/v6.7.0/src/pdfwidgets/qpdfview.cpp#L22
Consequently, static builds trigger LNK1169 and LNK2005:
Fehler LNK1169 Mindestens ein mehrfach definiertes Symbol gefunden. test C:\test\debug\test.exe 1 Fehler LNK2005 "class QLoggingCategory const & __cdecl qLcLink(void)" (?qLcLink@@YAAEBVQLoggingCategory@@XZ) ist bereits in Qt6PdfWidgetsd.lib(qpdfview.cpp.obj) definiert. test C:\test\Qt6Pdfd.lib(qpdflinkmodel.cpp.obj) 1
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124506 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556767,2 | Change qt.pdf.links log category to qt.pdf.wigets.links in pdfwidgets | dev | qt/qtwebengine | Status: NEW | 0 | 0 |