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.

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