QtQuick Controls 1.4



  • Hi everybody
    I just download the lastest Qt version 5.5 from official page and install it to try out the new qml treeview. But i can't find the option to create QuickProject with Qt Quick Controls 1.4 ( 1.3 is lastest version) neither import QtQuick.Controls 1.4 directly inside qml file.

    I found treeview.qml in source folder through. How can i config QtCreator so i can use new version of quick controls?

    Thanks


  • Lifetime Qt Champion

    Hi,

    You can just update the code generated to use the latest version supported by your Qt version.



  • Thank SGaist
    Can you give me more detail how to do it please? I can barely keep up with that


  • Lifetime Qt Champion

    Well, in the project you have now, just change the version numbers to match the one you want to use.



  • Is there a way QtQuick Controls 1.4 can be enabled in the latest version of Qt Creator?Are there in the commercial version of Qt?I have a QML app I am trying to build (android) and downgrading to available versions ,when the app starts I am getting a black screen and the following errors in the application output: ,I suspect that it is trying to load the features that are only available in newer versions of QML components I am using.

    W/example (12758): (null):0 ((null)): QQmlApplicationEngine failed to load component
    W/example (12758): (null):0 ((null)): qrc:/qml/WellChat/main.qml:12 Type MainView unavailable
    W/example (12758): qrc:/qml/WellChat/MainView.qml:125 Type DiscoverPage unavailable
    W/example (12758): qrc:/qml/WellChat/BussinessPage/DiscoverPage.qml:81 Cannot assign to non-existent property "rightMargin"
    W/example (12758):
    

    Thank you for your time.


  • Lifetime Qt Champion

    Which version of Qt are you using ?



  • I am using the standard latest Qt 5.5.0 android windows.It s arm7 eabi if that matters.


  • Lifetime Qt Champion

    On what component are you trying to set rightMargin ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.