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

QHttpServerFutureResponse.obj symbols already defined in qexception.obj

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Network: HTTP
    • Labels:
      None
    • Environment:
      Windows 10 pro, linux centos7
    • Platform/s:
      Linux/X11, Windows

      Description

      From QTBUG-60105

      There is a linker error with the symbol :

       

      QtPrivate::ExceptionStore::throwPossibleException(void)

       

      When compiling an application with QHttpServer with a debug configuration in Qt 5.12.7 static build.
      The release build links without errors.

      I could link the application by modifying the lines ~109-111 of qhttpserverfutureresponse.h:

      if (isCanceled()) {
      #ifndef QT_NO_EXCEPTIONS
            exceptionStore().throwPossibleException();
      #endif
          return QHttpServerResponse::StatusCode::NotFound;
      }
      

       

        Attachments

        For Gerrit Dashboard: QTBUG-85191
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            mikhailsvetkin Mikhail Svetkin
            Reporter:
            joblobob Pier-Antoine Giguère
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes