summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-18 19:35:45 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-18 19:42:29 (GMT)
commitee89aa4a7f33c1be07c53b2eda0e5c27ac9f8dcb (patch)
treeb5971d54dcdf138b23663313316ca740bcf8dd4e
parent7fc6dcb26d0e716526e812cb6beba6ceb6ec1e3f (diff)
Use QtQuick inUse QtQuick instead of QtDeclarative.
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt14
2 files changed, 13 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eff6fe5..25cd19e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ find_package(Qt5 REQUIRED COMPONENTS
Widgets
Script
Core
- Declarative
+ Quick
Gui
OpenGL
Svg
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3576365..a85e661 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -135,8 +135,18 @@ kconfig_add_kcfg_files(kalzium_SRCS prefs.kcfgc )
add_executable(kalzium ${kalzium_SRCS})
-target_link_libraries(kalzium KF5::Plotting KF5::KHtml KF5::KDELibs4Support KF5::NewStuff KF5::UnitConversion Qt5::Script Qt5::Declarative science Qt5::Svg ${OPENBABEL2_LIBRARIES} ${Qt5Declaration_LIBRARIES})
-#QT_QTSCRIPT_LIBRARY
+target_link_libraries(kalzium
+ KF5::Plotting
+ KF5::KHtml
+ KF5::KDELibs4Support
+ KF5::NewStuff
+ KF5::UnitConversion
+ Qt5::Script
+ Qt5::Svg
+ Qt5::Quick
+ science
+ ${OPENBABEL2_LIBRARIES}
+)
if (OPENBABEL2_FOUND)
target_link_libraries(kalzium ${OPENBABEL2_LIBRARIES})
if (EIGEN3_FOUND AND AvogadroLibs_FOUND)