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

error: expected expression QString baseDir = QLatin1String(QT_TYPEDJSON_DATADIR);

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.6.0 FF
    • Qt Language Server
    • None

    Description

      In file included from <built-in>:460:
      agent:2023/01/19 03:57:54 build.go:403: <command line>:17:31: warning: missing terminating '"' character [-Winvalid-pp-token]
      agent:2023/01/19 03:57:54 build.go:403: #define QT_TYPEDJSON_DATADIR \"/Users/qt/work/qt/qtlanguageserver/tests/auto/typedjson/data\"
      agent:2023/01/19 03:57:54 build.go:403:                               ^
      agent:2023/01/19 03:57:54 build.go:403: In file included from /Users/qt/work/qt/qtlanguageserver/tests/auto/typedjson/tst_typedjson.cpp:3:
      agent:2023/01/19 03:57:54 build.go:403: /Users/qt/work/qt/qtlanguageserver/tests/auto/typedjson/tst_typedjson.h:173:41: error: expected expression
      agent:2023/01/19 03:57:54 build.go:403:         QString baseDir = QLatin1String(QT_TYPEDJSON_DATADIR);
      agent:2023/01/19 03:57:54 build.go:403:                                         ^
      agent:2023/01/19 03:57:54 build.go:403: <command line>:17:30: note: expanded from here
      agent:2023/01/19 03:57:54 build.go:403: #define QT_TYPEDJSON_DATADIR \"/Users/qt/work/qt/qtlanguageserver/tests/auto/typedjson/data\"
      agent:2023/01/19 03:57:54 build.go:403:                              ^
      agent:2023/01/19 03:57:54 build.go:403: 1 warning and 1 error generated.
      

      Attachments

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

        Activity

          People

            sami.shalayel Sami Shalayel
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes