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

Parsing error due to missing space between key and value in annotations in QFace file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.8.0 RC
    • Qt Interface Framework
    • None
    • Appman & IF Oct 24, Appman & IF Nov 24

    Description

      When parsing annotations in a QFace file, if there is no space between the key and the value in the key-value pairs, the parser does not read the value properly. Similar to YAML, QFace expects a space between the colon ':' and the value in annotations.

      Steps to reproduce:

      • Open the qtinterfaceframework\examples\interfaceframework\remote example.
      • Change the qface file as
        @config_server_qtro: { useGeneratedMain:true }
        
      • main.cpp won't be generated.

      Expected Behavior:
      Parse the annotations correctly even if space is missing after ':'
      or
      Provide a clear and descriptive error message indicating that a space is required between the key and value in annotations.

      Attachments

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

        Activity

          People

            shmittal Shveta Mittal
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes