Forums

OverviewV-Play 1 Support › Javascript 3rd Party Library

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7605

    Preston

    Hi

     

    Can someone help me setup the Javascript version of the Swiss Ephemeris on V-play please….

    The instructions on its github page is for node.js.

    I need this for the astrology program I plan to make using V-play for android.

    Here is the github link for it.

    https://github.com/mivion/swisseph

     

    I just need to set it up….

    Which I currently don’t know how to do….

     

    Can anyone help please????

     

    Thank you very much…

     

     

     

    #7606

    Christian
    V-Play Team

    Hi bliss,

    I just checked out the Swiss Ephemeral library, and unfortunately I think it won’t work with V-Play, as it is developed for node.js and so it’s not pure Java/EcmaScript but uses many of its extensions.

    But isn’t there a C/C++ version of this library? You could use this one with V-Play 2.0 / Qt 5 because in this new version we support custom C++ code.

    Please let us know if you have any success with it!

    Cheers,
    Chrisu

    #7622

    Preston

    Hi Chrisu

     

    Thank you for the quick reply.

    Ok…

    Yes…there is a C version of the library.

    I welcome this idea actually.

    Because with my current iOS app, it uses the C version.

    That means I can reuse more code which is a good thing.

     

     

    So now the question is, do you have an example code/project of how to mix C and C++ with Javascript V-play?

    I would need the C++ calls coz I need to use a DatePicker which I know is available with Qt.

     

    Thank you.

    #7623

    Christian
    V-Play Team

    Hi again,

    have you already tried out V-Play 2.0?
    With it, you can by default add C++ sources and headers to your project in QtCreator and include them from main.cpp (a V-Play application is, by it’s core, a C++ program).

    For a tutorial how to use C++ classes from QML, I suggest you read the official Qt documenation about this topic.

    If something’s still unclear to you, feel free to ask :)

    Greetings,
    Chrisu

    #7624

    Preston

    Hi Chrisu,

     

    Actually…I have not…I downloaded it way before 2.0 was available.

     

    How do I upgrade?

     

    Thanks.

    #7626

    Christian
    V-Play Team

    You should check it out, V-Play 2.0 offers many great new features, like deploying to Android and iOS devices directly from your PC 😉

    Take a look at the 2.0 documentation, and the installation guide. Basically you will need to download Qt 5.3 and add V-Play as a plugin repository.

    Please let us know if you are able to make any progress with the C library!

    Cheers,
    Chrisu

    #7627

    Preston

    Hi Chrisu,

     

    Ok, I just read the documentation now.

    Thank you very much.

Viewing 7 posts - 1 through 7 (of 7 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