Comments (3)
Make sure the imports on top are
from PySide6.QtCore import *
from PySide6.QtGui import *
from PySide6.QtWidgets import *
from . resources_rc import *
it might be importing for example import PySide6.QtCore.QSize
, which you then need to use it as PySide6.QtCore.QSize
, while it tries to use it as QSize
.
from modern_gui_pydracula_pyside6_or_pyqt6.
the issue here is not the importing the issue is how to generate ui_main.py
from main.ui
and I am in the similar boat, usually I use pyuic5 but since this is pyside6 i dont know
from modern_gui_pydracula_pyside6_or_pyqt6.
the answer is you must run this command and then replace ui_main.py in the modules folder but you must modify a line
pyside6-uic main.ui -o ui_main.py
In the new ui_main.py
import resources_rc <---- this line changes into
from . resources_rc import * <-- into this
from modern_gui_pydracula_pyside6_or_pyqt6.
Related Issues (20)
- PyQt6 ??? HOT 1
- bug??
- Widgets module not getting installed. HOT 1
- How are we using Widgets module and custom grips in this project?
- How can we make changes into original resources file so that we edit the current images and icons according to our project need? HOT 2
- Project not working as executable file, GUI opens 20 times HOT 6
- Thank you for the cool stuff!
- Can use qtranslator support i18n?change the language
- Change Font HOT 3
- editTriggers in tableWidget
- #pydracula_project miaow-daq
- ui_functions.py don't work on pyinstaller
- Demo main.py - Checkbox is a radio button - not square
- I cant change the font famliy and point size HOT 1
- I run ui_main.py :ImportError: attempted relative import with no known parent package HOT 1
- How to turn off default background transparency
- Import Error: Dll load failed while importing QtGui: The specified procedure was not found HOT 2
- cant not run HOT 4
- Project cannot run
- py conver to exe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modern_gui_pydracula_pyside6_or_pyqt6.