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

QHttpServerFutureResponse.obj symbols already defined in qexception.obj

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12
    • Network: HTTP
    • None
    • Windows 10 pro, linux centos7
    • 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

            mikhailsvetkin Mikhail Svetkin
            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