Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT Creator Error: Expected Token ';' in Line 82 of Grav.qml #734

Open
Saijin-Naib opened this issue Nov 22, 2020 · 0 comments
Open

QT Creator Error: Expected Token ';' in Line 82 of Grav.qml #734

Saijin-Naib opened this issue Nov 22, 2020 · 0 comments

Comments

@Saijin-Naib
Copy link

      Component.onCompleted: {
        pahtX[0] = x
        pahtY[0] = y
        for(int i = 1; i <= 200; i++) {
          pathX[i] = cx+a*Math.cos(2*Math.PI*(i/200.0)*Math.cos(th) - b*Math.sin(2*Math.PI*(i/200.0)*Math.sin(th)
          pathY[i] = cy+a*Math.cos(2*Math.PI*(i/200.0)*Math.sin(th) + b*Math.sin(2*Math.PI*(i/200.0)*Math.cos(th)
        }
      }
    }
  }

Screenshot from 2020-11-22 00:03:17

I'm not sure if this has anything to do with my prior Issue #733 , but the QT Creator flagged this as an Error, not a Warning during build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant