diff options
Diffstat (limited to 'tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin')
3 files changed, 74 insertions, 0 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/.prev_CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/.prev_CMakeLists.txt new file mode 100644 index 0000000..1c6b8ca --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/.prev_CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qmlplugin.pro. + +cmake_minimum_required(VERSION 3.14) +project(qmlplugin LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +if(NOT DEFINED INSTALL_EXAMPLESDIR) + set(INSTALL_EXAMPLESDIR "examples") +endif() + +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}") + +find_package(Qt6 COMPONENTS IviCore) +find_package(Qt6 COMPONENTS IviVehicleFunctions) + + +# IVI Generator: +qt6_ivigenerator(qmlplugin + QFACE_SOURCES ../../../org.example.echo.noannotation.qface + QFACE_FORMAT qmlplugin +) +set_target_properties(qmlplugin PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) +target_include_directories(qmlplugin PUBLIC + ${CMAKE_CURRENT_BINARY_DIR}/../frontend +) + +target_link_libraries(qmlplugin PUBLIC + # Remove: L${CMAKE_CURRENT_BINARY_DIR}/.. + Qt::IviCore + Qt::IviVehicleFunctions +) + +install(TARGETS qmlplugin + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/CMakeLists.txt b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/CMakeLists.txt new file mode 100644 index 0000000..0ec3488 --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qmlplugin.pro. +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +# IVI Generator: +qt6_ivigenerator(echo_frontend_noanno_qmlplugin # special case + QFACE_SOURCES ../../../org.example.echo.noannotation.qface + QFACE_FORMAT qmlplugin +) + +target_link_libraries(echo_frontend_noanno_qmlplugin PRIVATE # special case + echo_noanno_frontend + Qt::IviCore + Qt::IviVehicleFunctions +) diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/qmlplugin.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/qmlplugin.pro new file mode 100644 index 0000000..ef896df --- /dev/null +++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/qmlplugin.pro @@ -0,0 +1,11 @@ +TEMPLATE = lib +QT = ivicore ivivehiclefunctions +CONFIG += c++11 plugin + +INCLUDEPATH += $$OUT_PWD/../frontend +LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend) + +QFACE_FORMAT = qmlplugin +QFACE_SOURCES = ../../../org.example.echo.noannotation.qface + +load(ivigenerator) |