• J-P Nurmi's avatar
    Revise main() in examples · 1070aeb5
    J-P Nurmi authored
    
    Replace the inconvenient QT_QUICK_CONTROLS_EXAMPLE_MAIN macro with a
    simpler macro that merely defines the actual application type. This way
    it's easier to do tweaks to main() when for example testing a different
    application font size. Moreover, browsing the example code becomes more
    convenient (especially online).
    
    Task-number: QTBUG-35083
    Change-Id: I8203816a9112bf29b4661baa86bf4a196554db05
    Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
    1070aeb5
touch.pro 428 bytes
QT += qml quick
TARGET = touch
!android: !ios: !blackberry: qtHaveModule(widgets): QT += widgets
include(src/src.pri)
include(../shared/shared.pri)
OTHER_FILES += \
    main.qml \
    content/AndroidDelegate.qml \
    content/ButtonPage.qml \
    content/ListPage.qml \
    content/ProgressBarPage.qml \
    content/SliderPage.qml \
    content/TabBarPage.qml \
    content/TextInputPage.qml
RESOURCES += \
    resources.qrc