Skip to content

Commit

Permalink
Rebuild rc files and fix messages from script
Browse files Browse the repository at this point in the history
  • Loading branch information
dpizetta committed May 10, 2018
1 parent 53be59a commit 4a9f73b
Show file tree
Hide file tree
Showing 6 changed files with 4,566 additions and 1,394 deletions.
2,329 changes: 1,215 additions & 1,114 deletions qdarkstyle/pyqt5_style_rc.py

Large diffs are not rendered by default.

554 changes: 278 additions & 276 deletions qdarkstyle/pyqt_style_rc.py

Large diffs are not rendered by default.

1,483 changes: 1,483 additions & 0 deletions qdarkstyle/pyqtgraph_style_rc.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions qdarkstyle/pyside_style_rc.py

Large diffs are not rendered by default.

1,582 changes: 1,582 additions & 0 deletions qdarkstyle/qtpy_style_rc.py

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion script/process_qrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,19 @@ def main(arguments):

# calling external commands
if args.create in ['pyqt', 'pyqtgraph', 'all']:
print("Compiling for PyQt4 ...")
call(['pyrcc4', '-py3', qrc_file, '-o', py_file_pyqt])

if args.create in ['pyqt5', 'qtpy', 'all']:
print("Compiling for PyQt5 ...")
call(['pyrcc5', qrc_file, '-o', py_file_pyqt5])

if args.create in ['pyside', 'all']:
print("Compiling for PySide ...")
call(['pyside-rcc', '-py3', qrc_file, '-o', py_file_pyside])

if args.create in ['qtpy', 'all']:
print("Compiling for PySide ...")
print("Compiling for QtPy ...")
# special case - qtpy - syntax is PyQt5
with open(py_file_pyqt5, 'r') as file:
filedata = file.read()
Expand All @@ -88,6 +91,7 @@ def main(arguments):
file.write(filedata)

if args.create in ['pyqtgraph', 'all']:
print("Compiling for PyQtGraph ...")
# special case - pyqtgraph - syntax is PyQt4
with open(py_file_pyqt, 'r') as file:
filedata = file.read()
Expand Down

0 comments on commit 4a9f73b

Please sign in to comment.