Skip to content

Commit

Permalink
Restructured icon location
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Dec 10, 2024
1 parent 7bbef30 commit fdff162
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
File renamed without changes
14 changes: 0 additions & 14 deletions docs/developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,4 @@ subprocess.run(["python", "-m", "pip", "install", "--upgrade", "git+https://gith

The `master` version of CadQuery must currently be used to avoid version conflicts with the embedded FreeCAD packages. If you are reading this after CadQuery's 2.5.0 release, the stable version can be installed.

### Compiling the Qt Resource File
**NOTE:** It is unclear whether this is still needed with FreeCAD 1.0 or not. You can most likely skip this for now.

This is done to update the CadQuery logo.
1. Install the PySide development tools: `sudo apt-get install pyside-tools`
2. `cd` into the root directory of this module/workbench.
3. Run the following command: `pyside-rcc ./CQGui/Resources/CadQuery.qrc -o CadQuery_rc.py`

Newer versions of FreeCAD use Pyside2, and so `pyside2-rcc` is needed instead:
```bash
sudo add-apt-repository ppa:thopiekar/pyside-git
sudo apt-get update
```

[<Back to Main](index.md)
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<date>2024-12-10</date>
<license file="LICENSE">Apache-2.0</license>
<url type="repository" branch="main">https://github.com/CadQuery/cadquery-freecad-workbench</url>
<icon>/CQGui/Resources/icons/CQ_Logo.svg</icon>
<icon>CQGui/icons/CQ_Logo.svg</icon>

<content>
<workbench>
<name>CadQuery</name>
<description>Workbench which makes CadQuery models executable within FreeCAD</description>
<classname>CadQueryWorkbench</classname>
<subdirectory>./</subdirectory>
<icon>/CQGui/Resources/icons/CQ_Logo.svg</icon>
<icon>CQGui/icons/CQ_Logo.svg</icon>
<depend type="python">https://github.com/CadQuery/cadquery.git</depend>
</workbench>
</content>
Expand Down

0 comments on commit fdff162

Please sign in to comment.