I've recently started to use PyQT5. However, I'm facing several errors which are being generated yet the application it self is still working. All of the errors are for undefined variables for PyQT related modules.
E.G. "Undefined variable 'QApplication' pylint(undefined-variable).
As im following a tutorial with no real expertise in PyQT or pylint im unsure as to what this is and how detrimental this is to my project. Can this be solved, if so how? if not, is there a possible work around?
Below is not the exact code I originally reported this error on (I'm only following a tutorial therefore none of it is complex code) however the following produces the exact same error which suggests it is indeed not the script itself and is likely a visual studio code or Pylint issue.
import sys
import time
# Self explanatory.
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
# Create QApplication Object. Something all applications must have one of.
app = QApplication(sys.argv)