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

QHttpServerRequest doesnt compile whith DELETE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Network
    • Labels:
      None
    • Environment:
      Windows 10, QtCreator 4.12.3, Qt 5.15

      Description

      I built the files of QHttpServer with mingw and Qt 5.15 which worked well and runs like a charme in an example test project.

      After including the files in my main project I got an error in QHttpServerRequest: 

      qthttpserver/qthttpserver/src/httpserver/qhttpserverrequest.h:75:9: error: expected identifier before '(' token
               DELETE  = Delete,
               ^~~~~~
      

      After deleting the uppercase DELTE in line 75 there is no error message anymore.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mikhailsvetkin Mikhail Svetkin
            Reporter:
            p.steinmueller Pascal Steinmüller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes