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. Where is defined result.OK symbol ?
Forum Updated to NodeBB v4.3 + New Features

Where is defined result.OK symbol ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 657 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.
  • F Offline
    F Offline
    FabriceS
    wrote on last edited by
    #1

    I cannot figure out how to access result.OK symbol from javascript, cf. http://doc.qt.io/qt-5/qml-qtqml-qt.html#include-method

    Qt.result is undefined

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! It's defined here, but I think it's not exposed to QML as a flag, so you can't use the name in QML, but have to use the integer values.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FabriceS
        wrote on last edited by
        #3

        It looks like Q_ENUM is missing ???

        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