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

Add script for qrc file -> python file #145

Open
marshallmcdonnell opened this issue Feb 15, 2019 · 1 comment
Open

Add script for qrc file -> python file #145

marshallmcdonnell opened this issue Feb 15, 2019 · 1 comment
Assignees
Labels
Status: Won't Fix This will not be fixed due to other reasons (ie legacy part of code, will be replaced)

Comments

@marshallmcdonnell
Copy link
Member

marshallmcdonnell commented Feb 15, 2019

Used this (https://stackoverflow.com/questions/50627220/loadui-loads-everything-but-no-images-in-pyqt) but I don't know if it really solves our problems. Had to do the following:

  1. cd to the icons folder (I moved it to addie sub-directory like I did the ui directory)
  2. Run pyrcc4 (or pyrcc5): pyrcc4 icons.qrc -o icons_rc.py
  3. Then added from addie.icons import icons_rc at the top of the file (just tried one so far)
  4. Run addiedevel.sh

Should add this to the icons directory with a README to explain this

@marshallmcdonnell marshallmcdonnell self-assigned this Feb 15, 2019
@marshallmcdonnell marshallmcdonnell added the Status: Won't Fix This will not be fixed due to other reasons (ie legacy part of code, will be replaced) label Sep 30, 2019
@marshallmcdonnell
Copy link
Member Author

I don't think we need this but keeping issue open till I can test we don't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Won't Fix This will not be fixed due to other reasons (ie legacy part of code, will be replaced)
Projects
None yet
Development

No branches or pull requests

1 participant