-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.5.0
-
None
-
OSX
'make install' command try to install to the '/libs/armeabi-v7a/' directory instead of one specified by 'configure -prefix':
> export ANDROID_API_VERSION=19_r04
> ./configure \
-confirm-license \
-nomake examples \
-nomake tests \
-opensource \
-xplatform android-g++ \
-android-sdk "${MYSDK}" \
-android-ndk "${MYNDK}" \
-android-ndk-platform android-19 \
-android-arch armeabi-v7a \
-no-warnings-are-errors \
-android-ndk-host darwin-x86_64 \
-verbose \
-static \
-prefix "${QT_INSTALL_DIR}" \
-debug-and-release \
-skip qt3d \
-skip qtactiveqt \
-skip qtandroidextras \
-skip qtcanvas3d \
-skip qtconnectivity \
-skip qtdeclarative \
-skip qtdoc \
-skip qtenginio \
-skip qtgraphicaleffects \
-skip qtimageformats \
-skip qtlocation \
-skip qtmacextras \
-skip qtmultimedia \
-skip qtquick1 \
-skip qtquickcontrols \
-skip qtscript \
-skip qtsensors \
-skip qtserialport \
-skip qtsvg \
-skip qttranslations \
-skip qtwayland \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebkit \
-skip qtwebkit-examples \
-skip qtwebsockets \
-skip qtwinextras \
-skip qtx11extras \
-skip qtxmlpatterns
> make install
...
mkdir: /libs/armeabi-v7a/: Permission denied
The reason is Makefile from qtplugininfo directory:
> grep 'mkdir.*INSTALL_ROOT' qttools/src/qtplugininfo/Makefile @test -d $(INSTALL_ROOT)/libs/armeabi-v7a/ || mkdir -p $(INSTALL_ROOT)/libs/armeabi-v7a/
- duplicates
-
QTBUG-38452 Android: make install in qttools fails because of install path
-
- Open
-