Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 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 Felgo yesterday, and got the installation done without any hitch.

    Now I’ve launched the app and was following the “Welcome To Felgo 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 Felgo 3.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 Felgo 3.0
    import QtQuick 2.0
    
    
    
    Page {
      title: "Detail Page"
      Text {
        text: "Felgo"
        color: "blue"
    
        anchors.centerIn: parent
      }
    
    }
    
    

     

    Ah well. Lesson learnt 😀

    #16330

    Günther
    Felgo 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded