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

Application in long folder name fails to load QML plugins

    XMLWordPrintable

Details

    • Windows
    • bbf32e8a4 (dev)

    Description

      Preconditions:

      1. Have a long folder path (combined length of over 255 characters, apparently)
      2. Build attached application (or any other QML application, but this application prints all output to a file for convenience)
      3. Copy application binary to the long folder
      4. Copy required Qt DLLs to that folder
      5. Start application by double-clicking in Windows Explorer

      Expected:

      6. Application starts

      Actual:

      6. Application fails to load with error:

      Warning: QQmlApplicationEngine failed to load component
      Warning: qrc:/qt/qml/StartupLogApplication/Main.qml:1:1: File name case mismatch for "C:/devel/demos/LONGFO~1/LONGFO~1/LONGFO~1/LONGFO~1/EVENLO~1/qml/QtQuick/qtquick2plugind.dll"
      

      If the application and its DLLs are copied to a folder "not so deep in directory tree", it will start without any issues.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            ottoryynanen Otto Ryynänen
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 3 open Gerrit changes