Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9240

Drop Error false positive error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QDS 4.0
    • Model and Rewriter
    • None

    Description

      import QtQuick 2.15
      import QtQuick.Controls 2.15
      
      Item {
          width: 1920
          height: 1080    
      
      Rectangle {
              id: rectangle
              color: "#ffffff"
              anchors.fill: parent
          }    
      
      Rectangle {
              id: dragger
              x: 142
              y: 262
              width: 200
              height: 200
              color: "#b32929"        
      
      DragHandler {
                  id: mydragger
              }
          }    
      
      DropArea {
              id: dragTarget
              width: 64
              height: 64        
      
      Rectangle {
                  id: dropRectangle
                  anchors.fill: parent
                  color: "green"
              }
          }
      }
      
      

      Causes an error in the code model of QtDS, even though it works in the runtime.

      Attachments

        Activity

          People

            thohartm Thomas Hartmann
            brook_cronin_qt Brook Cronin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: