Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36097

Static Qt for Android mustn't implement JNI_OnLoad

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.2.0
    • QPA
    • None
    • Android

      qsslsocket_openssl_android.cpp contains a definition on JNI_OnLoad function. When Qt is build as a static library and is linked to a binary that already contains a definition of JNI_OnLoad, the linker returns "multiple definitions" error.

      If Qt does really need to define this function, then it should provide a way for a client code to handle JNI_OnLoad somehow.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tvete Paul Olav Tvete
            michael.rozumyanskiy@gmail.com Michael Rozumyanskiy
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes