ErrorImport: from Qt5.QtCore import Qt | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

ErrorImport: from Qt5.QtCore import Qt

Python 3.7 / PyQt 5,11 (install "pip install PyQt5") and tools. please help me or indicate other tools for create ui file !!!

16th Sep 2018, 2:32 AM
Alexander Antonio Castillo Motiño
Alexander Antonio Castillo Motiño - avatar
2 Answers
+ 4
Try "from PyQt5 import Qt"
16th Sep 2018, 5:41 AM
Anna
Anna - avatar
0
Hi @Anna :) , I just did your instruction and it does not return error, but it does not happen with the other instructions, this has me confused :(... from PyQt5 import Qt #NoError from PyQt5 import QtGui #ErrorImport DLL load failed :( #from PyQt5.QtCore import Qt #from PyQt5.QtGui import QKeySequence #from PyQt5.QtWidgets import (QAction, QActionGroup, QApplication, QFrame, # QLabel, QMainWindow, QMenu, QMessageBox, QSizePolicy, QVBoxLayout, # QWidget) <<< Original Code Tnks for your help, success!
16th Sep 2018, 3:20 PM
Alexander Antonio Castillo Motiño
Alexander Antonio Castillo Motiño - avatar