采用 Qt Quick 快速入门编程 TEMPLATE = app QT += quick SOURCES += main.cpp RESOURCES += qml.qrc controls_conf.qrc target.path = $$[QT_INSTALL_EXAMPLES]/demos/alarms INSTALLS += target