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

Qt library paths for 5.5 Linux binaries are not correctly patched

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.5.0 Beta
    • Fix Version/s: 5.5.0 Beta
    • Component/s: Packaging & Installer
    • Labels:
      None
    • Commits:
      cbf28577ef49b6f5b5e45ae2e74143969cbd9327

      Description

      Executables compiled with a 5.5 installed through the offline installer cannot run because they do not find the platform plugin:

      QFactoryLoader::QFactoryLoader() checking directory path "/home/kakoehne/Qt5.5.0/5.5/gcc_64/platforms" ...
      QFactoryLoader::QFactoryLoader() checking directory path "/home/kakoehne/dev/tmp/build-widgetsapp-Desktop_Qt_5_5_0_GCC_64bit-Debug/platforms" ...
      This application failed to start because it could not find or load the Qt platform plugin "xcb".
      

      Indeed the path returned from QLibraryInfo::location seems corrupted:

      qDebug() << QLibraryInfo::location(QLibraryInfo::PluginsPath);
      

      returns

      "/home/kakoehne/Qt5.5.0/5.5/gcc_64\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000/plugins"
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kkohne Kai Köhne
                Reporter:
                kkohne Kai Köhne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes