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

name 'QtCore' is not defined #491

Closed
snelweg opened this issue May 5, 2024 · 2 comments
Closed

name 'QtCore' is not defined #491

snelweg opened this issue May 5, 2024 · 2 comments

Comments

@snelweg
Copy link

snelweg commented May 5, 2024

When switching over to the ASM4 WB:

13:20:11  name 'QtCore' is not defined
13:20:11  Traceback (most recent call last):
  File "/home/ton/.local/share/FreeCAD/Mod/Assembly4/./InitGui.py", line 100, in Initialize
    msgBox.setWindowFlags( QtCore.Qt.WindowStaysOnTopHint )

Has been an error for the past 4 appimages. What is wrong and how can I tfix it?

`OS: Linux Mint 21.3 (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37100 (Git) AppImage
Build type: Release
Branch: main
Hash: ede6c811fd39d68a44949601f2eb7ecc8a67fdb7
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods:

  • POV-Ray-Rendering
  • Assembly4 0.50.12
  • Render 2024.1.23
    `
@Vincenzoferrara
Copy link

I solved it by adding to line 100 In the file InitGui.py

from PySide import QtCore

@Zolko-123
Copy link
Owner

Should be solved in the latest dev branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants