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

qtinsight.conf cannot be found in Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.5.2
    • Qt Insight Tracker
    • None
    • Android

    Description

      I'm using Android Qt 6.5.2 Clang arm64-v8a kit.
      The project is here : https://filesender.qt.io/?s=download&token=8c45153e-5c36-4918-a784-4aa9fe4d66c3
      (The .zip exceeded the limit of 30MB therefore I used filesender)

      The attached project switches qtinsight.conf based on the compiler, like so.

      // CMakeLists.txt
      # change the qtinsight.conf based on the target
      if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
        # Using MSVC
        message(STATUS "Using MSVC")
        add_definitions(-DMSVC_COMPILER) # used in main.cpp
        set(QTINSIGHT_CONFIG "qtinsightconf/MSVC/qtinsight.conf")
      elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
        # Using GCC (MinGW)
        message(STATUS "Using GCC (MinGW)")
        add_definitions(-DMINGW_COMPILER) # used in main.cpp
        set(QTINSIGHT_CONFIG "qtinsightconf/MinGW/qtinsight.conf")
      elseif (ANDROID)
        # Using Android NDK
        message(STATUS "Using Android NDK")
        add_definitions(-DANDROID_COMPILER) # used in main.cpp
        set(QTINSIGHT_CONFIG "qtinsightconf/Android_arm64_v8a/qtinsight.conf")
      else()
        # Default path
        message(STATUS "Using default path")
        set(QTINSIGHT_CONFIG "qtinsightconf/Default/qtinsight.conf")
      endif() 

      This works for MinGW and MSVC, but for Android, the Application Output shows an error like so;

      W qt.insight.config: : Could not find configuration file: "qtinsight.conf"
      I qt.insight.qml: : QML analytics interface available: false
      I qt.insight: : Enabling Qt Insight Tracker
      W qt.insight: : Failed to enabled Qt Insight Tracker, the configuration is not valid
      I .coffee_insight: Background concurrent mark compact GC freed 7585(1381KB) AllocSpace objects, 3(60KB) LOS objects, 90% free, 2527KB/26MB, paused 307us,9.192ms total 48.893ms 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            mikio_hirai Mikio Hirai
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes