Which should I use Qt Labs Controls or QtQuick Controls?



  • Hi; I develop mobile applications by Qt. Qt 5.6 provides Qt Labs Controls. Well, which should I use Labs Controls or QtQuick Controls? Qt said for Labs Controls: "Types in the Qt.labs module are not guaranteed to remain compatible in future versions.". Which you want to use? Why?
    Thanks.



  • A quote from the Qt Labs Controls README file:

    The Qt Labs Controls module is a technology preview of the next generation user interface controls based on Qt Quick. In comparison to the desktop- oriented Qt Quick Controls 1, the experimental Qt Labs Controls are an order of magnitude simpler, lighter and faster, and are primarily targeting embedded and mobile platforms.
    
    Qt Labs Controls are based on a flexible template system that enables rapid development of entire custom styles and user experiences. Qt Labs Controls comes with a selection of built-in styles:
    
    - Default style - a simple and minimal all-round style that offers the maximum performance
    - Material style - a style based on the Google Material Design Guidelines
    - Universal style - a style based on the Microsoft Universal Design Guidelines
    
    More information can be found in the following blog posts:
    
    - http://blog.qt.io/blog/2015/03/31/qt-quick-controls-for-embedded/
    - http://blog.qt.io/blog/2015/11/23/qt-quick-controls-re-engineered-status-update/
    

    For mobile, I'd definitely go with Qt Labs Controls, unless it's a blocker to you that they are still missing some important things such as text selection handles (https://bugreports.qt.io/browse/QTBUG-51010).


  • Qt Champions 2016

    I did some intensive evaluation and test of qt.labs.controls last weeks

    If you want to develop a great mobile App I would recommend to use the qt.labs.controls even if there probably will be some API changes in 5.7

    Try out the Qt 5.6 RC and in examples search for 'labs' and you'll get the qt.labs.controls Gallery - there you can see how it looks like and take a look at the src.


Log in to reply
 

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