Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ReferenceError in QML file from +ios directory
Qt 6.11 is out! See what's new in the release blog

ReferenceError in QML file from +ios directory

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 269 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Juan Garcia
    wrote on last edited by
    #1

    I have QML component only for iOS on "+ios" directory who is accessing to a property on another QML component on a parent directory. This is working but giving me "ReferenceError: item is not defined" at runtime. This is my folder structure:

    /+ios/iOSComponent.qml
    /ComponentWhereItemIsDefined.qml
    

    Any way to solve it?

    dheerendraD 1 Reply Last reply
    0
    • J Juan Garcia

      I have QML component only for iOS on "+ios" directory who is accessing to a property on another QML component on a parent directory. This is working but giving me "ReferenceError: item is not defined" at runtime. This is my folder structure:

      /+ios/iOSComponent.qml
      /ComponentWhereItemIsDefined.qml
      

      Any way to solve it?

      dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      @Juan-Garcia
      Reference generally gives for some variable not available. What is code & line# where it gives the error. This may help to find the issue.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved