remove_definitions( -DQT_NO_CAST_FROM_ASCII ) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) set(test_backgroundparser_SRCS test_backgroundparser.cpp testlanguagesupport.cpp testparsejob.cpp) ecm_add_test(${test_backgroundparser_SRCS} TEST_NAME test_backgroundparser LINK_LIBRARIES KF6::TextEditor Qt::Test KDev::Tests KF6::ThreadWeaver KDev::Language)