D8173: Use readelf to find project dependencies
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Wed Nov 29 14:30:17 UTC 2017
apol added a comment.
Okay, I gave it another unsuccesful go. Will have to test together if you have some time.
I tried putting everything in a different prefix like this:
KConfig:
cmake -DCMAKE_INSTALL_PREFIX=/home/user/prefixfw -DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/kdeandroid-deps" -DCMAKE_BUILD_TYPE=debug -DCMAKE_TOOLCHAIN_FILE=/opt/kdeandroid-deps/share/ECM/toolchain/Android.cmake -DKF5_HOST_TOOLING=/opt/nativetooling/lib/x86_64-linux-gnu/cmake/ -DANDROID_SDK_BUILD_TOOLS_REVISION=21.1.2 /home/user/kconfig/
KTuberling:
cmake -DCMAKE_INSTALL_PREFIX=/home/user/prefixapp -DECM_ADDITIONAL_FIND_ROOT_PATH="$QT_ANDROID;/opt/kdeandroid-deps;/home/user/prefixfw" -DCMAKE_BUILD_TYPE=debug -DCMAKE_TOOLCHAIN_FILE=/opt/kdeandroid-deps/share/ECM/toolchain/Android.cmake -DKF5_HOST_TOOLING=/opt/nativetooling/lib/x86_64-linux-gnu/cmake/ -DANDROID_SDK_BUILD_TOOLS_REVISION=21.1.2 -DQTANDROID_EXPORTED_TARGET=ktuberling_mobile -DANDROID_APK_DIR=/home/user/ktuberling/android_data/ /home/user/ktuberling/
Successfully found kconfig:
~/build/ktuberling$ cat ktuberling_mobile-deployment.json
{
"qt": "/opt/Qt/5.9.1/android_armv7",
"sdk": "/opt/android-sdk-linux",
"ndk": "/opt/android-ndk",
"toolchain-prefix": "arm-linux-androideabi",
"tool-prefix": "arm-linux-androideabi",
"toolchain-version": "4.9",
"ndk-host": "linux-x86_64",
"target-architecture": "armeabi-v7a",
"application-binary": "/home/user/build/ktuberling/ktuberling_mobile_build_apk//libs/armeabi-v7a/libktuberling_mobile.so",
"qml-root-path": "/home/user/ktuberling",
"android-extra-libs": "/home/user/prefixfw/lib/libKF5ConfigCore.so",
"android-extra-plugins": "/home/user/prefixapp/share",
"android-package-source-directory": "/home/user/ktuberling/android_data/",
"sdkBuildToolsRevision": "21.1.2"
}
REPOSITORY
R240 Extra CMake Modules
REVISION DETAIL
https://phabricator.kde.org/D8173
To: apol, #frameworks, #build_system, aacid
Cc: mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20171129/52b89c36/attachment.html>
More information about the Kde-buildsystem
mailing list