[SOLVED] Default QLibrary search location on Android



  • Well as it said in the topic I need to know where QLibrary searches libraries on Android. I've tried to push my library to a lot of places and none worked. Need help :)



  • bring up my post



  • From Qt doc:
    Returns a list of paths that the application will search when dynamically loading libraries.
    @
    QStringList QCoreApplication::libraryPaths () [static]
    @



  • Thanks a lot!
    [quote author="Hostel" date="1336302457"]From Qt doc:
    Returns a list of paths that the application will search when dynamically loading libraries.
    @
    QStringList QCoreApplication::libraryPaths () [static]
    @
    [/quote]



  • Okay, for everyone who'll read this thread. QLibrary on Android DOES NOT search libraries in
    @QCoreApplication::libraryPaths()@

    which returns "/data/data/%you_app's_name/files".
    Howewer it DOES search in /system/lib. Here's how I learnt it:

    @$adb shell echo $LD_LIBRARY_PATH@

    I don't know either if it's okay or if it's gonna be fixed (or may be it will have been already fixed). So check library paths twice


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.