Where to find documentation on setting up preferences for a workbench.

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
keithsloan52
Veteran
Posts: 2764
Joined: Mon Feb 27, 2012 5:31 pm

Re: Where to find documentation on setting up preferences for a workbench.

Post by keithsloan52 »

Okay I am now sorted.
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Where to find documentation on setting up preferences for a workbench.

Post by wandererfan »

keithsloan52 wrote: Wed Jun 19, 2019 5:38 am Do the above instructions assume that the qrc file is also in the Mod directory?
Glad you got it sorted.

For completeness:
Yes. It doesn't have to be if you adjust the path to the qrc file. You do want the output (myResources.py ) to end up in .../Mod/MyModule.

@kbwbe has developed a nice script for this in the A2Plus workbench.
Attachments
compileA2pResources.py.txt
(2.48 KiB) Downloaded 36 times
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Where to find documentation on setting up preferences for a workbench.

Post by wandererfan »

Kunda1 wrote: Wed Jun 19, 2019 4:18 am #documentation
Workbench_creation#Preferences
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: Where to find documentation on setting up preferences for a workbench.

Post by techGuy »

Do I need to run rcc if I am editing code in an existing workbench and I don't change any of the icons ?
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: Where to find documentation on setting up preferences for a workbench.

Post by Cuq »

If you don't change the icone or the preferences you should not have to recompile the rcc file.
Post Reply