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. Build errors in Qt5.5.1 ( android )
QtWS25 Last Chance

Build errors in Qt5.5.1 ( android )

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidbuildqt 5.5
7 Posts 2 Posters 2.3k Views
  • 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.
  • QjayQ Offline
    QjayQ Offline
    Qjay
    wrote on last edited by
    #1

    I am getting following erros :

    errors

    okay here is my setup :

    linux mint 32-bit , qt5.5.1(android) . android-ndk-r11c (i downloaded the zip and just extracted it in home folder )

    I am also getting this error

    :-1: error: Unknown module(s) in QT: webengine
    

    this application works fine on desktop GCC 32-bit .

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      QtWebEngine is not available for Android (see here. It's also valid for QtWebKit. If you just need to show html content then the QtWebView module is likely to interest you.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • QjayQ Offline
        QjayQ Offline
        Qjay
        wrote on last edited by
        #3

        what about those android errors ?

        I just checked my tools -> options -> build & run and saw

        (!) red symbol in front of android armv7 , armv5 and x86 .

        no compiler can produce code for this qt version

        i installed : g++-arm-linux-gnueabihf but still error persist

        do i need other compiler for it ? If yes which one

        1 Reply Last reply
        0
        • QjayQ Offline
          QjayQ Offline
          Qjay
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Can you check what compiler got installed with your NDK ? AFAIR, by default not all compilers are installed.

            Thus the missing architectures is a normal warning. If you want to run your application on an x86 android, you'll have rebuild Qt for it.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • QjayQ Offline
              QjayQ Offline
              Qjay
              wrote on last edited by Qjay
              #6

              Hey @SGaist these are all the steps i did !!

              1. downloaded Qt 5.5 android offline version ( yes i am using 32-bit OS so no choice for me )

              2. chmod +x and then ./qt..... and followed the instructions next next . Selected all the modules ( select all )

              3. i already had android SDK and android studio . I then downloaded android NDK android-ndk-r11c . I just unzipped it in home directory

              4. openede Qt->tools->options->Android pointed the JDK , SDK and NDK locations ( yes i checked on build toolchains )

              That's all !!

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Check in the ndk whether you have gcc 4.8 available IIRC there was a change with r11.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                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