Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Run checks error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14508

    Juan Carlos

    -OneCard Demo

    -Windows Qt5.7

     

    Executing Menu->Qml/Js->Run Checks:

    Gives me…

    D:\Tools\Qt\Examples\Felgo\demos\OneCard\qml\OneCardMain.qml:87: error: “deviceId” is not a member of “GameNetworkUser”. (M18)

     

    What’s happening?

    #14516

    Günther
    Felgo Team

    Hi Juan!

    There is nothing wrong. The deviceId property is mainly used internally and should not be set or overwritten in a final game, which is why it is not visible publicly. Although the property is hidden, our Multiplayer examples like the ONU demo overwrite this property for testing the multiplayer game on desktop as if it were running on multiple different devices. Accessing the hidden property will result in the message you described, because the autocompletion and QML checks in Qt Creator do not see the property.

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.