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

Build of qtbase for android mips fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.1
    • 5.2.0, 5.3.0 Beta1
    • QPA
    • darwin-x86_64
      android-ndk-r9
    • Android
    • 2ca323ccd4f25f409eff8fc0c9804099b78c2bde

    Description

      When downloading sources from your website ( http://download.qt-project.org/official_releases/qt/5.2/5.2.0/submodules/ ) for the qtbase module ( .tar.gz file ) and using this configuration :

      ./configure --prefix=/path/ -developer-build -opensource -confirm-license -nomake examples -nomake tests -xplatform android-g++ -android-ndk /NDKs/android-ndk-r9 -android-sdk /SDKs/android-sdk-macosx -android-ndk-host darwin-x86_64 -android-toolchain-version 4.8 -android-arch mips -no-warnings-are-errors

      It comes up with this error :
      kernel/qjni_p.h: In function '_jclass* getCachedClass(JNIEnv*, const char*)':
      kernel/qjni_p.h:201:23: error: 'QJNIObjectPrivate QJNIObjectPrivate::callObjectMethod(const char*, const char*, va_list) const' is private

      It seems that mips compiler does not take the public function( i.e. callObjectMethod( arg0, arg1, ... ) but try to use the private one.

      It does the same for every function that has this kind of signature.

      One way to fix it is to make public all these function that the mips compiler is trying to use but I do not know what impact this could have.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            maxleb Maxime Leblanc
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes