I'm making a simple pyqt5 python application. When I either try read the selected position from a combobox or setPixmap I get a -1073740791 (0xC0000409) exit code
I've tried googling this problem and I couldn't find anything more than the fact that it is a stack buffer overflow
def serialCon():
currPort = str(dlg.portList.currentText())
currBaud = str(dlg.baudRates.currentText())
print(currBaud)
print(currPort)
def mapImport():
options = QFileDialog.Options()
options |= QFileDialog.DontUseNativeDialog
fileName, _ = QFileDialog.getOpenFileName(None, "QFileDialog.getOpenFileName()", "",
"All Files (*)", options=options)
if fileName:
pixmap = fileName
dlg.mapLbl.setPixmap(pixmap)
I want to display the image and print the selected combobox values.
User contributions licensed under CC BY-SA 3.0