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

Android std error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • 5.12.10, 5.15.2, 6.0.0
    • 5.9.1
    • Extras: Android
    • Android for armeabi-v7a(GCC 4.9, Qt 5.9.1 for Android arm7)
      android-ndk-r15c

    Description

      Error: 'stold' is not a member of 'std'
      stroka.insert(indofsin,qStringFromLongDouble(cosl(std::stold(strokacopy.toStdString()))));
      Error: 'cosl' was not declared in this scope
      stroka.insert(indofsin,qStringFromLongDouble(cosl(std::stold(strokacopy.toStdString()))));

      I have this error when compiling on android. On Windows compiling well(qt 5.9.1)

      I am using Gradle.
      My .pro file contains:
      CONFIG = c+11

      Attachments

        Activity

          People

            assam Assam Boudjelthia
            egor Egor Sidorov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: