library loading problem -- Patch to QT Creator testing
frameworks at qlands.com
frameworks at qlands.com
Mon Jun 13 14:53:44 CEST 2011
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi,
Please find attached the patch file that fixes the two errors
described below in this email.
Procedure:
1. Copy the path file to:
QT-Creator-Testing/src/plugins/qt4projectmanager
2. cd QT-Creator-Testing/src/plugins/qt4projectmanager
3. cp -r qt-android qt-android_new
4. cd qt-android_new
5. patch -p1 -i ../bundled_libs.path
6. cd ..
7. mv qt-android qt-android_old
8. mv qt-android_new qt-android
9 cd QT-Creator-Testing
10. make and install :-)
Niko, please get the testing version of creator and apply the patch.
I checked it with your example and some of mine. It seems to work
fine. Your example works.
BodDan, if you think is correct, please commit these two fixes... I
am still a baby with git stuff.
Cheers,
Carlos Quiros.
On 06/13/2011 02:18 PM, Niko Sams wrote:
On Mon, Jun 13, 2011 at 13:12, Frameworks wrote:
Hi,
Seem like there is a bug in QT Creator (stable and testing) where
the
bundled library that is included in the file libs.xml and copied to
the
libs directory is then removed from libs.xml just before the APK is
created when you run the application. At least this happens with
your test.
I have also seen that the bundled library that is included in
libs.xml
has the format libMyTestLib.so when it should be MyTestLib because
the
java code that load the library (system.LoadLibrary()) uses
"undecorated" library name, e.g. to load "libfubar.so" you would
pass in
"fubar". This is also a bug in creator.
Let me fix such bugs and send a patch to BodDan to include it in
testing.
ah, great - thanks.
Niko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/necessitas-devel/attachments/20110613/0b1f7e0a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundled_libs.path
Type: application/octet-stream
Size: 1323 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/necessitas-devel/attachments/20110613/0b1f7e0a/attachment.dll
More information about the Necessitas-devel
mailing list