Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 5.7 with Android GCC 4.8
Forum Updated to NodeBB v4.3 + New Features

QT 5.7 with Android GCC 4.8

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.6k 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.
  • L Offline
    L Offline
    lqsa
    wrote on last edited by
    #1

    I would like to use Google Firebase with an Android application. When downloads the C++ SDK, the readme remarks this:

    • Known Issues
      • Android armeabi libraries must be linked with gcc 4.8.

    So, I've tried to configure QT to compile with gcc 4.8. To do it, I've created a new Kit on Build & Run configuration. On the Compiler option I've choosed "Android GCC (arm-4.8)".

    The project was recompiled with this new Kit, but when the application starts on the Android device, it crashes, with the message that does an illegal action.

    If I compile with the default kit (with gcc 4.9), the application starts. Is it possible to compile and run a QT 5.7 application with Android gcc 4.8?

    1 Reply Last reply
    0
    • jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You should build Qt with GCC 4.8 as well

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • jsulmJ jsulm

        You should build Qt with GCC 4.8 as well

        L Offline
        L Offline
        lqsa
        wrote on last edited by
        #3

        @jsulm When you say "you should build Qt", are you saying that must be recompiled Qt or that if use gcc 4.8 must work?

        jsulmJ 1 Reply Last reply
        0
        • L lqsa

          @jsulm When you say "you should build Qt", are you saying that must be recompiled Qt or that if use gcc 4.8 must work?

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @lqsa My guess is that you installed Qt for android which was build with a different version of GCC. In this case you should build Qt with GCC 4.8 as well not only your application.
          What is the error message exactly?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lqsa
            wrote on last edited by
            #5

            Ok, thanks.
            No message, only crash when start.

            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