Forums

OverviewV-Play 1 Support › Trouble getting past the Welcome Tutorial

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16327

    tingling

    Hi guys,

    Total newbie here (no computer science background – the only ‘programming language’ I know is Excel VBA :p)..

    I just downloaded V-Play yesterday, and got the installation done without any hitch.

    Now I’ve launched the app and was following the “Welcome To V-Play Apps” tutorial. A couple of questions:

    1. I got as far as creating the app button on my Main page and going to the second page, but I can’t figure out how to add stuff on my second page. I’ve tried
    import VPlayApps 1.0
    import QtQuick 2.0
    
    Page {
      title: "Detail Page"
      text:"asdf"
    }

    but when I run the app and got this error after clicking the button (the page still pushes to the second page)

    ‘AppPlayground-Desktop_Qt_5_8_0_MinGW_32bit-Debug/qml/DetailPage.qml:8

    Cannot assign to non-existent property “text” ‘

     

    *It works alright if I drop the text:”asdf” part on the second page. I just get a blank second page*.

     

    Can anyone tell me what I’m doing wrong? Thanks a lot, and I think it’s quite a good SDK :)

     

    p.s. A couple other issues I had with the tutorial is

    1. First time I built my app it took maybe 3-5 mins for it to pop up. I thought I made a mistake in the installation but it seems to have fixed itself without me doing anything.
    2. Totally missed the fact that “id: page” needed to be inserted in the Mainpage for the AppButton to work properly. The only hint I got was afterwards in the tutorial when they say ” (don’t forget to add the id to the Page component)”. Totally missed that the first run through the tutorial :p
    #16328

    tingling

    Oh.. that’s silly of me.. I had to wrap the detailpage in a Text component right? Incredibly noob to realise it now heh

    import VPlayApps 1.0
    import QtQuick 2.0
    
    
    
    Page {
      title: "Detail Page"
      Text {
        text: "V-Play"
        color: "blue"
    
        anchors.centerIn: parent
      }
    
    }
    
    

     

    Ah well. Lesson learnt 😀

    #16330

    Günther
    V-Play Team

    Hi,

    Building the first time can take a bit longer compared to later builds. The build directory still contains the build-files from the previous compilation, which makes building faster then.

    Glad to hear you got everything fixed – have fun developing!

    Cheers,
    Günther

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