How can i add Google Protocol buffers to Qt 5 Android project ?



  • Hello Guys,
    When i am using Qt 5.1.1 for android along with Google protocol buffers , crashes because it fails to load the library libprotobuf.so.8. I followed this thread http://qt-project.org/forums/viewthread/29592
    and added libprotobuf.so , libprotobuf.so.8 and libprotobuf.so.8.0.0 as show below
    [in lib.xml]
    @
    <array name="protobuffers">
    <item>libprotobuf.so</item>
    <item>libprotobuf.so.8</item>
    <item>libprotobuf.so.8.0.0</item>
    </array>
    @
    [in AndroidManifest.xml]
    @
    <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/protobuffers"/>
    @
    This still did not upload the library into the apk .

    Does anyone have an idea of what it is i should do to make this work ?


Log in to reply
 

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