summaryrefslogtreecommitdiffstats
path: root/doc/src/demos-quick2oscilloscope.qdoc
blob: 281525894cd68938a155f976f7ff9fa47fdc4c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*!
    \example demos/quick2oscilloscope
    \title Qt Quick 2 Oscilloscope

    \image demos_qmloscilloscope.png

    This is a reimplementation of the \l{Oscilloscope} demo in Qt Quick 2.

    The main difference in qml files is importing the correct version of Qt Quick:

    \snippet ../demos/quick2oscilloscope/qml/quick2oscilloscope/main.qml 3

    \note QML_SHOW_FRAMERATE environment variable doesn't work with Qt Quick 2.
    From Qt 5.1.0 on, the QSG_RENDER_TIMING environment variable can be used
    similarly to display rendering time.
*/