Move ChatDocumentHandler to use QmlTextItemWrapper and create test

This commit is contained in:
James Graham
2025-12-26 16:40:15 +00:00
parent 416d85af3b
commit f31e9062e6
8 changed files with 341 additions and 233 deletions

View File

@@ -120,7 +120,8 @@ macro(add_qml_tests)
endforeach()
endmacro()
add_executable(qmltest qmltest.cpp)
add_executable(qmltest qmltest.cpp qmltextitemwrappertestwrapper.h)
qt_add_qml_module(qmltest URI NeoChatTestUtils)
target_link_libraries(qmltest
PRIVATE
@@ -132,4 +133,5 @@ target_link_libraries(qmltest
add_qml_tests(
chatdocumenthelpertest.qml
qmltextitemwrappertest.qml
)