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. Qt 5.7.0 Android - error "Qt requires C++11 support"
QtWS25 Last Chance

Qt 5.7.0 Android - error "Qt requires C++11 support"

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 3.9k 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.
  • metaDomM Offline
    metaDomM Offline
    metaDom
    wrote on last edited by metaDom
    #1

    Since updating to Qt 5.7.0, I can't properly compile for Android anymore.

    Qt throws:

    "C:\QtE\5.7\android_armv7\include\QtCore\qbasicatomic.h:61: error: #error "Qt requires C++11 support""
    

    My .pro file contains:

    CONFIG  += c++11
    CONFIG  += c++14
    

    I have installed Android ARMv7 toolchain and MinGW 5.3.0 and 4.9.2 all via the Qt Installer.

    Thanks in advance!

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

      Did you rerun qmake after adding CONFIG += c++11?
      What is the compiler version for Android?

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

      metaDomM 1 Reply Last reply
      0
      • jsulmJ jsulm

        Did you rerun qmake after adding CONFIG += c++11?
        What is the compiler version for Android?

        metaDomM Offline
        metaDomM Offline
        metaDom
        wrote on last edited by
        #3

        @jsulm yeah, I did re-run qmake. SDK R24 and NDK R11C

        1 Reply Last reply
        0
        • metaDomM Offline
          metaDomM Offline
          metaDom
          wrote on last edited by
          #4

          https://bugreports.qt.io/browse/QTBUG-54257

          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