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

Autodetection of platform features not working in clean Symbian^3 and Symbian^4 builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.1
    • 4.6.0
    • None
    • None
    • 5f7b681661d8067b3fd954f04b7a25d833f5c92a

    Description

      The detection of features such as STL or SQLite by checking files under \epoc32\ does not work in clean builds (which start with an unpopulated \epoc32\ source tree), e.g. this code will not detect the STL properly:

      exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) {
      OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5)
      } else {
      OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport)
      }

      and this code will not find SQLite:

      !exists($${EPOCROOT}epoc32/release/armv5/lib/sqlite3.dso) {
      BLD_INF_RULES.prj_exports += ":zip SQLite3_v9.2.zip"
      }

      One solution could be to use explicit configure parameters to either override the autodetected state, or to use the feature manager for detecting the configuration. The simpler solution of using configure flags is probably faster and makes definitely sense here.

      Attachments

        Issue Links

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

          Activity

            People

              e0348803 Miikka Heikkinen
              ekoppen Eckhart Köppen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes