Hmm it should work ... please run the following command:
$ adb shell ls /data/data/<your_application_package_name>/libs
You should see that library there, if not, then the library is not
copied where it should.
Please add the following script to your .pro file to install external libs:
external_libs.files=/path/to/your/lib
x86 {
external_libs.path = /libs/x86
} else: armeabi-v7a {
external_libs.path = /libs/armeabi-v7a
} else {
external_libs.path = /libs/armeabi
}
INSTALLS += external_libs
The "prebundled libraries" box is used to configure libraries which
are compiled and managed by QtCreator (the library must be compiled by
your project or any project which your project depends on).
Cheers,
BogDan.
2011/10/31 Tom Russo <tom....@gmail.com>:
Hi Tom,
Hmm it should work ... please run the following command:
$ adb shell ls /data/data/<your_application_package_name>/libs
You should see that library there, if not, then the library is not
copied where it should.
Please add the following script to your .pro file to install external libs:
external_libs.files=/path/to/your/lib
x86 {
external_libs.path = /libs/x86
} else: armeabi-v7a {
external_libs.path = /libs/armeabi-v7a
} else {
external_libs.path = /libs/armeabi
}
INSTALLS += external_libs
The "prebundled libraries" box is used to configure libraries which
are compiled and managed by QtCreator (the library must be compiled by
your project or any project which your project depends on).
Cheers,
BogDan.
2011/10/31 Tom Russo <tom....@gmail.com>:
>
>
I'll try to find a better solution, please reopen one issue.
Cheers,
BogDan.
Thanks !
-LC:/Users/emb-arunkun/necessitas/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi -LC:/Users/emb-arunkun/necessitas/android-ndk-r6b/platforms/android-5/arch-arm//usr/lib -LC:\Users\emb-arunkun\necessitas\Android\Qt\480\armeabi\lib -lQtDeclarative -L/tmp/necessitas/unstable/Android/Qt/480/build-armeabi/install/lib -L/tmp/necessitas/android-ndk-r6b/sources/cxx-stl/gnu-libstdc++/libs/armeabi -L/tmp/necessitas/android-ndk-r6b/platforms/android-5/arch-arm//usr/lib -lQtSvg -lQtSql -lQtXmlPatterns -lQtNetwork -lQtScript -lQtGui -lQtCore -lstdc++ -lsupc++ -llog -lz -lm -ldl -lc -lgcc > libtestAppx.so.1.0.0.lnk.cmdline
C:/Users/emb-arunkun/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.6.2/prebuilt/windows/bin/arm-linux-androideabi-g++ @libtestAppx.so.1.0.0.lnk.cmdline
ma-make: Leaving directory `C:/Users/emb-arunkun/AndroidApp/testAppx-build--Necessitas_Qt_4_8_0_for_Android_armv5_Release'
c:/users/emb-arunkun/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.6.2/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6.2/../../../../arm-linux-androideabi/bin/ld.exe: cannot find -lQtDeclarative
collect2: ld returned 1 exit status
ma-make: *** [libtestAppx.so.1.0.0] Error 1