Forums

OverviewFelgo 2 Support (Qt 5) › AppTabBar not working on iOS anymore….

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

    Francois

    Hello,

     

    it seems 2.10.0 broke the AppTabBar on iOS ?

    Using the example you gave in the doc, I get this error message:

    Type AppTabBar unavailable

    qrc:///qml/VPlayApps/controls/quick2/AppTabBar.qml:3 module “QtQuick.Controls.Material” plugin “qtquickcontrols2materialstyleplugin” not found

     

    Here the small code:

     

    import Felgo 3.0
    import QtQuick.Controls 2.0 as QuickControls2
    import QtQuick 2.5
    App {
        Page {
            title: "Tabs"
    
            // tabs
            AppTabBar {
                id: appTabBar
                contentContainer: swipeView
    
                AppTabButton {
                    text: "Red"
                }
                AppTabButton {
                    text: "Green"
                }
            }
    
            // tab contents
            QuickControls2.SwipeView {
                id: swipeView
                anchors.top: appTabBar.bottom
                anchors.bottom: parent.bottom
                width: parent.width
                clip: true
    
                Rectangle {
                    color: "Red"
                }
    
                Rectangle {
                    color: "Green"
                }
    
            }
        } // Page
    }
    

     

    Any hints to solve this out ?

     

    Thanks a lot for your help

     

    Best Regards.

     

    F.

    #15952

    Günther
    Felgo Team

    Hi Francois!

    Thanks for reporting the issue – we will try to add a fix with the next update.

    You can solve the problem manually with an additional import for the Material style module:

    import QtQuick.Controls.Material 2.1

    The import-scanner should then correctly add and link the qtquickcontrols2materialstyleplugin to your application.

    Cheers,
    Günther

    #15953

    Francois

    Hello Günther,

    Thanks for your help.

    It’s working again in my code.

    Best Regards.

     

    F.

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