Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with PY3 and QT5 #11

Closed
furti opened this Issue Aug 23, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@furti
Copy link
Owner

furti commented Aug 23, 2018

Should be tested with a 0.18 Build with Python 3 and QT5.

@furti

This comment has been minimized.

Copy link
Owner Author

furti commented Aug 26, 2018

First known Problem with QT5 (https://forum.freecadweb.org/viewtopic.php?p=252448#p252451)

Running the Python command 'Import_Image' failed:
Traceback (most recent call last):
  File "C:\Users\Chris\AppData\Roaming\FreeCAD\Mod\FreeCAD-Lithophane\import_image.py", line 17, in Activated
    fileName = QtGui.QFileDialog.getOpenFileName(QtGui.qApp.activeWindow(), "Open Image", '', "Image Files (*.png *.jpg *.bmp)")[0]

'NoneType' object has no attribute 'activeWindow'

FreeCAD Info:


OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14442 (Git)
Build type: Release
Branch: master
Hash: bb9d737ba1158fdba5d06df45ab3e213065139cd
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

@furti furti added the bug label Aug 26, 2018

@furti furti self-assigned this Aug 27, 2018

@furti furti closed this in 1752e36 Aug 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.