Hello List, While porting kwalletd to KF5, and still working on getting used to the new build system, I encounter a problem with KF5Config include paths.
I have the following line in my CMakeLists.txt : find_package(KF5Config CONFIG REQUIRED) However, when compiling, it won't add the -I directive for KF5/KConfigCore. Here is the result with export VERBOSE=1 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> ^ compilation terminated. What should I change in order to get it compiling? I think that something's missing from the KConfig framework build files, but I'm still trying to figure it out... Thanks, -- Valentin Rusu (IRC valir, KDE vrusu) KSecretsService (former KSecretService, KWallet replacement)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel