XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      VS2017 QT5.12 QTVSTOOL2.5.2.1
    • Platform/s:
      Windows

      Description

      when I bug my programmer in VS2017 with QT5.12 QTVSTOOL 2.5.2.1

      when I inspect the loacl ** variable widget in VS2017,the data of QList<QVariant> variable is not visible. The type of QList<QVariant> is  QListSpecialMethods<QVariant>.Normally,the type of QList<QVariant> should be std::atomic<int>.

      I founded the an error in qt5.natvis. The error msg is "Natvis: ..\Debugger\Visualizers\qt5.natvis(399,28): Error: identifier "QVariant" is undefined
      Error while evaluating 'reinterpret_cast<$T1>((sizeof($T1) > sizeof(void*)) ? reinterpret_cast<Node*>(d->array + d->begin + $i)>v : reinterpret_cast<$T1*>(d>array + d->begin + $i))' in the context of type '

       Looks like the same problem as QTVSADDINBUG-498.

      part of qt5.natvis file from line 391 to 405.

      <Type Name="QList<*>">
      <AlternativeType Name="QStringList"></AlternativeType>
      <AlternativeType Name="QQueue<*>"></AlternativeType>
      <DisplayString>{{ size =

      {d->end - d->begin}

      }}</DisplayString>
      <Expand>
      <Item Name="[referenced]">d->ref.atomic._q_value</Item>
      <IndexListItems>
      <Size>d->end - d->begin</Size>
      <ValueNode>reinterpret_cast<$T1>((sizeof($T1) > sizeof(void*))
      ? reinterpret_cast<Node*>(d->array + d->begin + $i)->v
      : reinterpret_cast<$T1*>(d->array + d->begin + $i))
      </ValueNode>
      </IndexListItems>
      </Expand>
      </Type>

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mecfc Miguel Costa
              Reporter:
              ssdqt df dd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes