library loading problem -- Patch to QT Creator testing
Niko Sams
niko.sams at gmail.com
Mon Jun 13 18:01:45 CEST 2011
thanks - that fixes the issue for me.
Niko
On Mon, Jun 13, 2011 at 14:53, <frameworks at qlands.com> wrote:
> 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 <frameworks at qlands.com> 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
>
>
>
>
>
>
> _______________________________________________
> Necessitas-devel mailing list
> Necessitas-devel at kde.org
> https://mail.kde.org/mailman/listinfo/necessitas-devel
>
>
More information about the Necessitas-devel
mailing list