KF5Config - module config won't get right include path

Alex Merry kde at randomguy3.me.uk
Sat Jan 11 12:26:11 UTC 2014


On 11/01/14 09:32, Valentin Rusu wrote:
> cd /home/kde5/build/frameworks/kwallet-framework/src/runtime/kwalletd &&
> /usr/bin/c++   -DKCOREADDONS_LIB -DKDE_DEFAULT_DEBUG_AREA=285
> -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII
> -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII
> -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING
> -DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION
> -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -D_BSD_SOURCE -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -Dkdeinit_kwalletd_EXPORTS
> -pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP
> -DQT_NO_FTP -Wformat -Werror=format-security -Werror=return-type
> -Wno-variadic-macros -Wlogical-op -std=c++0x -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS
> -fno-check-new -fno-common -Woverloaded-virtual -Werror=return-type
> -fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -fPIC
> -I/home/kde5/build/frameworks/kwallet-framework/src/runtime/kwalletd
> -I/home/kde5/src/frameworks/kwallet-framework/src/runtime/kwalletd
> -I/home/kde5/build/frameworks/kwallet-framework/src/api/KWallet
> -I/home/kde5/src/frameworks/kwallet-framework/src/api/KWallet
> -I/home/kde5/src/frameworks/kwallet-framework/src/runtime/kwalletd/backend
> -I/home/kde5/src/frameworks/kwallet-framework/src/runtime/kwalletd/../../api/KWallet
> -I/home/kde5/build/frameworks/kwallet-framework/src/runtime/kwalletd/backend
> -isystem /home/qt/5/qt5/qtbase/include -isystem
> /home/qt/5/qt5/qtbase/include/QtWidgets -isystem
> /home/qt/5/qt5/qtbase/include/QtGui -isystem
> /home/qt/5/qt5/qtbase/include/QtCore -isystem
> /home/qt/5/qt5/qtbase/mkspecs/linux-g++
> -I/home/kde5/include/KF5/KCoreAddons -I/home/kde5/include/KF5
> -I/home/kde5/include/KF5/KI18n    -o
> CMakeFiles/kdeinit_kwalletd.dir/main.cpp.o -c
> /home/kde5/src/frameworks/kwallet-framework/src/runtime/kwalletd/main.cpp
> /home/kde5/src/frameworks/kwallet-framework/src/runtime/kwalletd/main.cpp:24:19:
> fatal error: KConfig: No such file or directory
>  #include <KConfig>

My local copy looks fine, and all the other frameworks that depend on
KConfig seem to be building just fine.  Actually, it looks mostly like
you just haven't added KF5::ConfigCore to the target_link_libraries for
kwalletd.  But without seeing your CMakeLists.txt files, that guess is
as good as I can do.

Alex



More information about the Kde-frameworks-devel mailing list