[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow missing components (or detect them in project)
[Thread Prev] | [Thread Next]
- Subject: Re: Allow missing components (or detect them in project)
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 12 Jan 2026 00:49:29 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 09/01/2026 à 18:25, Bruce Steers a écrit :
I want a way to be able to exclude a component that another component depends on.I have a work-around but I think this is a valid issue.In my program I have imported gb.settings and deselected it from the loaded components. (i needed to force lower case default settings file name)This causes a problem with gb.form.mdi as it demands i have gb.settings also loaded.My workaround is to manually edit the .project file and remove the line... Component=gb.settings But if i load the project properties page it sneakily puts it back in. Then my program gets conflicts with 2 gb.settings versions. I have gb.settings imported in many of my projects, Possible Solutions...1. Have another checkbox on components page selections to "ignore dependencies" so i can load gb.form.mdi and stop it requiring and auto- adding gb.settings2. Have another checkbox on components page selections to "Never load" so i can add gb.settings to satisfy gb.form.mdi and it is completely ignored and not loaded.3. A generic "Ignore dependencies" option on components page to ignore all dependencies and not auto-add anything.4. er, most other ideas i'm having are turning out to be bad ones :(Ps. Using the Manual loading methods to workaround the issue did not work, i still had conflicts.Respects BruceS
Sorry but I think it's nonsense. If a component requires another component to work, then it requires it.
The problem is actually just that 'gb.form.mdi' requires 'gb.settings' for managing the Toolbar class. If I find a way to have a working Toolbar without having to rely on it, I will be able to make that component optional.
Regards, -- Benoît Minisini.
| Re: Allow missing components (or detect them in project) | Bruce Steers <bsteers4@xxxxxxxxx> |
| Allow missing components (or detect them in project) | Bruce Steers <bsteers4@xxxxxxxxx> |