Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How can i add Google Protocol buffers to Qt 5 Android project ?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    williamkibiragmail.com
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved