Commit 6db9e2c2 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Link to KConfig.

parent 019df1d8
...@@ -28,7 +28,6 @@ set(learnerprofile_LIB_SRCS ...@@ -28,7 +28,6 @@ set(learnerprofile_LIB_SRCS
learninggoal.cpp learninggoal.cpp
profilemanager.cpp profilemanager.cpp
storage.cpp storage.cpp
models/learninggoalmodel.cpp models/learninggoalmodel.cpp
) )
...@@ -38,6 +37,8 @@ target_link_libraries( ...@@ -38,6 +37,8 @@ target_link_libraries(
artikulatelearnerprofile artikulatelearnerprofile
LINK_PUBLIC LINK_PUBLIC
Qt5::Core Qt5::Core
Qt5::Gui
KF5::Config
) )
set_target_properties( set_target_properties(
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <QFileInfo> #include <QFileInfo>
#include <QPixmap> #include <QPixmap>
#include <QDebug> #include <QDebug>
#include <KGlobal>
using namespace LearnerProfile; using namespace LearnerProfile;
......
...@@ -31,6 +31,8 @@ find_package(KDeclarative REQUIRED) ...@@ -31,6 +31,8 @@ find_package(KDeclarative REQUIRED)
# set config files after packages are searched # set config files after packages are searched
configure_file("${artikulate_SOURCE_DIR}/version.h.cmake" "${artikulate_BINARY_DIR}/version.h" @ONLY) configure_file("${artikulate_SOURCE_DIR}/version.h.cmake" "${artikulate_BINARY_DIR}/version.h" @ONLY)
set (CMAKE_CXX_FLAGS "-fexceptions") #FIXME workaround: build with exceptions as required by qtgstreamer
add_subdirectory(qml) add_subdirectory(qml)
# set include directories # set include directories
...@@ -72,6 +74,7 @@ target_link_libraries(artikulatecore ...@@ -72,6 +74,7 @@ target_link_libraries(artikulatecore
LINK_PRIVATE LINK_PRIVATE
artikulatelearnerprofile artikulatelearnerprofile
artikulatesound artikulatesound
KF5::Config
${KDECLARATIVE_LIBRARIES} ${KDECLARATIVE_LIBRARIES}
${KDE4_KIO_LIBS} ${KDE4_KIO_LIBS}
${QT_QTDECLARATIVE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment