Forums

OverviewV-Play 2 Support (Qt 5)MultiResolutionImage source property binding › Reply To: MultiResolutionImage source property binding

OverviewV-Play 2 Support (Qt 5)MultiResolutionImage source property binding › Reply To: MultiResolutionImage source property binding
#10382

Günther
V-Play Team

Hi,

I just tried both examples on my end, and everything works fine. I just happened to have one problem at first, when I created the “myObject” javascript-object as a QML property and used the wrong syntax:

// correct
property var myObject: {
        "image": "qrc:/MyImage.png"
}

// wrong
property var myObject: {
        image: "qrc:/MyImage.png"
}

Maybe that’s also your problem?

If not, can you please provide some log output or hints to the error that you are facing?

Best,
GT

  • This reply was modified 2 years, 11 months ago by  GT.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support