1

我正在使用 PyQt5 开发 GUI,并正在使用 FBS 创建可执行文件。使用“FBS 运行”时,代码运行良好。但是 FBS 冻结会引发一些错误,并且生成的应用程序无法运行。错误如下:

46255 ERROR: Can not find path ./Qt3DCore.framework/Versions/5/Qt3DCore (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene2D/libqtquickscene2dplugin.dylib)
46255 ERROR: Can not find path ./Qt3DRender.framework/Versions/5/Qt3DRender (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene2D/libqtquickscene2dplugin.dylib)
46255 ERROR: Can not find path ./Qt3DLogic.framework/Versions/5/Qt3DLogic (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene2D/libqtquickscene2dplugin.dylib)
46651 ERROR: Can not find path ./QtGamepad.framework/Versions/5/QtGamepad (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46651 ERROR: Can not find path ./Qt3DAnimation.framework/Versions/5/Qt3DAnimation (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46651 ERROR: Can not find path ./Qt3DInput.framework/Versions/5/Qt3DInput (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46652 ERROR: Can not find path ./Qt3DCore.framework/Versions/5/Qt3DCore (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46652 ERROR: Can not find path ./Qt3DRender.framework/Versions/5/Qt3DRender (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46652 ERROR: Can not find path ./Qt3DLogic.framework/Versions/5/Qt3DLogic (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtQuick/Scene3D/libqtquickscene3dplugin.dylib)
46666 ERROR: Can not find path ./QtMultimediaQuick.framework/Versions/5/QtMultimediaQuick (needed by /Users/xxxx/.local/share/virtualenvs/cfehome-t3sZTH9i/lib/python3.6/site-packages/PyQt5/Qt/qml/QtMultimedia/libdeclarative_multimedia.dylib)

我确实有这些库的路径。例如:/Users/xxxx/Qt/5.12.6/clang_64/lib/Qt3DRender.framework/Versions/5/Qt3DRender

我将不胜感激有关如何更新路径或将这些库放置在可以找到它们以使用 FBS 进行代码编译的任何指导

4

0 回答 0