Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124506

[Qt PDF] Multiple definition error for static builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.0
    • PDF

    Description

      Two places define a QLoggingCategory called "qLcLink" in global scope:

       

      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

        Activity

          People

            srutledg Shawn Rutledge
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change