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

Forums

OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded