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

Forums

OverviewFelgo 2 Support (Qt 5) › Error after the update to 2.4

Tagged: 

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

    Nicola

    Hi,

    tomorrow morning after started the creator i received the notify about the update (i’m on OSX) , applyed but when compile the application on desktop, after the login page i see nothing but only this error “qrc:///qml/VPlayApps/navigation/Navigation.qml:513: Error: Cannot assign to non-existent property “parentNavigation”. If i try to compile on Android device the app creash at start-up. If  i create a login new application, it’s ok. Do i have missed some step?

    Nicola

    #17532

    Günther
    Felgo Team

    Hi Nicola!

    This update included some changes to the Navigation type to make it easier to display a different navigation setup for iOS and Android.

    Does your project maybe also already dynamically show or hide navigation items?

    The new approach for dynamically visible NavigationItems looks like this:

    import Felgo 3.0
    
    App {
      Navigation {
        NavigationItem {
           title: "Everywhere"
        }
        NavigationItem {
          title: "Only Android"
          showItem: Theme.isAndroid
        }
        NavigationItem {
          title: "Only iOS"
          showItem: Theme.isIos
        }
      }
    }

     

    Is this maybe related to your issue?

    If you can narrow down your use-case to a minimum navigation setup that produces the error, please let me know!

     

    Best,
    Günther

    #17540

    Nicola

    Hi,

    now it’s start, but for android i have the default navigation button on the left, instead i have a my custom navigation button on the right, so i have two navigation button; is it possibile remove the default button?

    Nicola

    #17542

    Günther
    Felgo Team

    Hi Nicola,

    glad to hear it starts again! For Android the Navigation always shows the menu on the left by default – this was not changed by the update.

    How did you achieve this behavior before the update?

    Best,
    Günther

     

    #17552

    Nicola

    Hi,

    before of update i had:

    Navigation {
    id: nav
    enabled: userLoggedIn

    NavigationStack {
    id: menuStack
    //splitView: tablet
    initialPage: mainPage

    }
    }

     

    and in the navigation bar i didn’t have the lef menu button.

    Nicola

     

    #17603

    Günther
    Felgo Team

    Hi Nicola!

    Thanks for the code example – I’ll let you know about the status once we’ve investigated the issue.

    Best,
    Günther

    #17846

    Günther
    Felgo Team

    Hi Nicola,

    I just had a closer look!

    The Navigation type is built for holding NavigationItems, which then contain your NavigationStack and Page content.
    It is not intended to place a NavigationStack directly within Navigation.

    You can remove the Navigation and only use the NavigationStack standalone if you do not require the menu drawer.

    Best,
    Günther

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