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. Cannot parse qml content(weird error)

Cannot parse qml content(weird error)

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 643 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    stereomatching
    wrote on last edited by
    #1

    Sometimes the parser can not parse the qml content correctly
    It always give me error messages at runtime like
    "can not bind function to double", "no reference to xxx"

    example

    @
    Item{

    //.....
    PhotoViewer{
    //......
    }

    }
    @

    For some mysterious reason, the codes can't work
    But when I change the file name from PhotoViewer to PhotoViewer2
    it works.

    @
    Item{

    //.....
    PhotoViewer2{
    //......
    }

    }
    @

    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