Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-288

Fix the ServiceManager to also accept plugins of a different configuration as fallback

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.11
    • 5.11
    • Qt IVI
    • None

    Description

      The ServiceManager of qtivi has a check to only accept plugins using the same configuration (debug/release) as the main lib. This is needed as it could cause crashes otherwise in some cases.

      When building qtivi on mac for debug as a framework qtivi will build the qtivi core libs as a macos framework and the plugins as dylib.

      The dylib are build in the debug configuration and the plugins define this as part of their metadata. But for frameworks this is different and by default they run in a release mode as long as the DYLD_IMAGE_SUFFIX environment variable forces the framework to be run in debug mode.

      This can result in a situation where QtIvi doesn't accept it's own plugins anymore because of the configuration mismatch.

      This task is to fix this problem and instead of rejecting those plugins, first search for the plugin in the correct configuration and if not available print a warning, but load the plugin with the different configuration. This fallback should also be configurable.

      Attachments

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

        Activity

          People

            gagi Dominik Holland
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes