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

"PyQt6 vs PySide6": Resources and uic version #21

Open
MartinGebert opened this issue Sep 30, 2024 · 0 comments
Open

"PyQt6 vs PySide6": Resources and uic version #21

MartinGebert opened this issue Sep 30, 2024 · 0 comments

Comments

@MartinGebert
Copy link

MartinGebert commented Sep 30, 2024

Two remarks regarding PyQt6 vs PySide6. Many thanks for the article, that was very informative!

  1. For updating my project I was missing the pyrcc tool; this SO answer was very useful in solving this:

    https://stackoverflow.com/a/66104738/5794048

    This are the relevant changes in the makefile I'm using for this purpose:

     +rccTool := $(shell qmake6 -query QT_HOST_LIBEXECS)/rcc
    
     [...]
    
      res_%.py: %.qrc
     -       pyrcc5 -o $@ $<
     +       $(rccTool) --generator python -o $@ $<
     +       sed -i '0,/PySide6/s//PyQt6/' $@
    
  2. In section "Converting UI files to Python", pyuic5 is mentioned where it should probably read pyuic6.

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

1 participant