Warning, /frameworks/kquickcharts/examples/charts/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 find_package(Qt${QT_MAJOR_VERSION}Widgets REQUIRED) 0003 set_package_properties(Qt${QT_MAJOR_VERSION}Widgets PROPERTIES TYPE REQUIRED PURPOSE "The charts example needs Qt Widgets so the Plasma desktop style works properly.") 0004 find_package(KF5Kirigami2 REQUIRED) 0005 set_package_properties(KF5Kirigami2 PROPERTIES TYPE REQUIRED PURPOSE "The charts example uses Kirigami for its UI.") 0006 find_package(KF5Declarative REQUIRED) 0007 set_package_properties(KF5Declarative PROPERTIES TYPE REQUIRED PURPOSE "The charts example uses items from KF5Declarative for its UI.") 0008 0009 set(quickcharts_example_SRCS 0010 main.cpp 0011 ) 0012 0013 qt5_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 Qt5::Quick Qt5::Widgets) 0017 0018 install(TARGETS kquickcharts_example DESTINATION ${KDE_INSTALL_BINDIR})