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

windeploy打包时出现qrc:/chalk.qml:2:1: plugin cannot be loaded for module "QtQuick.Particles": Cannot load library F:\package\pp\QtQuick\Particles.2\particlesplugin.dll

    XMLWordPrintable

Details

    • Task
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.9, 5.12.0, 5.12.3
    • None
    • window10  

      qt5.12.0

       

    • Windows

    Description

      我估计这个问题对于所有版本可能存在。

      问题如下:

      本人写了基于windows平台通过qml实现了粉笔灰掉落效果,其中用到了粒子系统,虽然可能有些卡顿,但是能在debug,release版本下都能正常运行,能找到Particles.2\particlesplugin.dll这个库。但是我在用windeployqt实现打包时,程序能运行,但是无法产生粒子效果,通过debugview监察发现qrc:/chalk.qml:2:1: plugin cannot be loaded for module "QtQuick.Particles": Cannot load library F:\package\pp\QtQuick\Particles.2\particlesplugin.dll,然而我在exe打包目录下已经添加了qml文件夹,且它能发现该库,但是无法加载。请问是怎么回事??

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            liunangya Liu shang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes