Forums

OverviewV-Play 2 Support (Qt 5) › "SpineSkeleton" version 2.0 is defined more than once in module "VPlay"

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

    Markus Kahl

    I’ve been trying to read a file in my game but it doesn’t work.

    Writing

    FileUtils.readFile("<file path>")

    I get an error saying “readFile is not a function”. Now in all the code it says ”

    import VPlay 2.0

    but in the documentation I found that FileUtils.readFile is only available from 2.17 onwards (https://v-play.net/doc/fileutils/).

    So I tried importing a more recent VPlay via

    import VPlay 2.18

    But doing that I get the error from the title when trying to run my game:

    ...Qt_5_11_1_MinGW-Debug/qml/Main.qml:1 "SpineSkeleton" version 2.0 is defined more than once in module "VPlay"

     

    All I want to do, really, is read a CSV file and use its contents in my game. How do I do that?

    #20822

    Markus Kahl

    Erm, well, it turns out it has to be fileUtils with a small f, not a capital F. Never mind!

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

RSS feed for this thread

You must be logged in to reply to this topic.

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