小编Okn*_*kno的帖子

Python3:导入错误:/lib/x86_64-linux-gnu/libQt5Core.so.5:未找到版本“Qt_5.15”

我使用 Qt Designer 在 Qt 上创建了一个窗口,当我启动该应用程序时 - 我收到了 ImportError。感觉这个库没有安装在我的系统中。但预览在 Qt Designer 中有效。

设计文件的完整代码:

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'map.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(576, …
Run Code Online (Sandbox Code Playgroud)

python linux qt pyqt5 qtwebengine

4
推荐指数
1
解决办法
3383
查看次数

标签 统计

linux ×1

pyqt5 ×1

python ×1

qt ×1

qtwebengine ×1