Warning, /frameworks/kquickcharts/examples/charts/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 find_package(Qt6Widgets REQUIRED)
0003 set_package_properties(Qt6Widgets PROPERTIES TYPE REQUIRED PURPOSE "The charts example needs Qt Widgets so the Plasma desktop style works properly.")
0004 find_package(KF6Kirigami2 REQUIRED)
0005 set_package_properties(KF6Kirigami2 PROPERTIES TYPE REQUIRED PURPOSE "The charts example uses Kirigami for its UI.")
0006 find_package(KF6Declarative REQUIRED)
0007 set_package_properties(KF6Declarative PROPERTIES TYPE REQUIRED PURPOSE "The charts example uses items from KF6Declarative for its UI.")
0008 
0009 set(quickcharts_example_SRCS
0010     main.cpp
0011 )
0012 
0013 qt_add_resources(quickcharts_example_QRC charts.qrc)
0014 
0015 add_executable(kquickcharts_example ${quickcharts_example_SRCS} ${quickcharts_example_QRC})
0016 target_link_libraries(kquickcharts_example Qt6::Quick Qt6::Widgets)
0017 
0018 install(TARGETS kquickcharts_example DESTINATION ${KDE_INSTALL_BINDIR})