# Generated from qmltest.pro.

#####################################################################
## QuickTest Module:
#####################################################################

qt_internal_add_module(QuickTest
    CONFIG_MODULE_NAME qmltest
    GENERATE_METATYPES
    QMAKE_MODULE_CONFIG $${QT.testlib.CONFIG}
    SOURCES
        qtestoptions_p.h
        quicktest.cpp quicktest.h quicktest_p.h
        quicktestglobal.h
        quicktestresult.cpp quicktestresult_p.h
    DEFINES
        QT_NO_FOREACH
        QT_NO_URL_CAST_FROM_STRING
    LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::QmlPrivate
        Qt::Quick
        Qt::QuickPrivate
        Qt::TestPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Test
    PRIVATE_MODULE_INTERFACE
        Qt::TestPrivate
)

#### Keys ignored in scope 1:.:.:qmltest.pro:<TRUE>:
# MODULE_CONFIG = "$${QT.testlib.CONFIG}"
# QMLTYPES_FILENAME = "plugins.qmltypes"
# QMLTYPES_INSTALL_DIR = "$$[QT_INSTALL_QML]/Qt/test/qtestroot"
# QML_IMPORT_NAME = "Qt.test.qtestroot"
# QML_IMPORT_VERSION = "1.0"
# qmldir.files = "$$PWD/qmldir"
# qmldir.path = "$$QMLTYPES_INSTALL_DIR"

## Scopes:
#####################################################################

qt_internal_extend_target(QuickTest CONDITION TARGET Qt::Widgets
    DEFINES
        QT_QMLTEST_WITH_WIDGETS
    PUBLIC_LIBRARIES
        Qt::Widgets
)

qt_internal_extend_target(QuickTest CONDITION QT_FEATURE_qml_debug
    DEFINES
        QT_QML_DEBUG_NO_WARNING
)

#### Keys ignored in scope 4:.:.:qmltest.pro:prefix_build:
# INSTALLS = "qmldir"

#### Keys ignored in scope 5:.:.:qmltest.pro:else:
# COPIES = "qmldir"
qt_internal_add_docs(QuickTest
    doc/qtqmltest.qdocconf
)


set_target_properties(QuickTest PROPERTIES
    QT_QML_MODULE_INSTALL_QMLTYPES TRUE
    QT_QML_MODULE_VERSION 1.0
    QT_QML_MODULE_URI Qt.test.qtestroot
    QT_QMLTYPES_FILENAME plugins.qmltypes
    QT_QML_MODULE_INSTALL_DIR "${INSTALL_QMLDIR}/Qt/test/qtestroot"
)

qt6_qml_type_registration(QuickTest)
