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. Setting QV4_NO_SSA to prevent crashes on older Android phones

Setting QV4_NO_SSA to prevent crashes on older Android phones

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 632 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.
  • Q Offline
    Q Offline
    qt_erik
    wrote on last edited by
    #1

    Upon creating an app using QT 5.3.2 and android-21 SDK, I noticed crashes on older Android phones such as Samsung Galaxy I and II.

    The way I found to solve this was to set QV4_NO_SSA to one in the main.cpp file with the command qputenv("QV4_NO_SSA", "1");

    Briefly looking at the QT library, it seems like that will only affect the optimization of any QML code.

    Has anyone found a more elegant fix for issues such as this, or perhaps it's all handled in a newest release of the QT libraries?

    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