Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
dde69e629 (dev), c7a20c54d (6.7), 8f3f47276 (6.5)
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
For Gerrit Dashboard: QTBUG-124506 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556767,4 | Change qt.pdf.links log category to qt.pdf.wigets.links in pdfwidgets | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
560413,2 | Change qt.pdf.links log category to qt.pdf.wigets.links in pdfwidgets | 6.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |
560456,2 | Change qt.pdf.links log category to qt.pdf.wigets.links in pdfwidgets | 6.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |