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

QLibraryInfo produces incorrect paths on Android.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10.0
    • Other
    • None
    • Android

      When LibraryPath::PluginsPath requested using QLibraryInfo::path, a unexisting path is returned. The path points to a .../lib/plugins directory which does not exist on Android device by default. On Android the plugins are added directly to the .../lib directory.

      Breadcrumbs for future debuggers:
      The current impelentation uses path given is created from
      INSTALL_PLUGINSDIR is created in QtBuildPathsHelper.cmake
      qconfig.cpp is created from qconfig.cpp.in in QtQMakeHelpers.cmake which fills qt_configure_strs via QT_CONFIG_STRS.
      the path given by QLibraryInfo::path is from qt_configure_strs.

        For Gerrit Dashboard: QTBUG-141732
        # Subject Branch Project Status CR V

            qtandroidteam Qt Android Team
            lapohjan Lauri Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change