On Sun, Apr 2, 2017 at 3:48 AM, Mattias Gaertner via Lazarus <[email protected]> wrote: >> > A project can set a preferred version of a package: >> > http://wiki.freepascal.org/Lazarus_Packages#Using_preferred_file_name >> >> But how can I choose the correct package if the different sources do >> not have Min or Max version numbers? > > Maybe my wording 'preferred version' was misleading, but the link > explained the thing you were searching for.
I already understood this, thanks. >> I mean, the `New Requirement dialog` should have an option to choose >> the package by path (default/preferred) and not only by Min Max. >> I saw that I can change this information editing the .lpi file, but >> would be great do this using IDE, don't you think? > > Just right click on the dependency: > http://wiki.freepascal.org/IDE_Window:_Project_Inspector#Store_file_name_as_preferred_for_this_dependency I am talking about this dialog in attachment. Using just "preferred", if I have two options, I can't change the path in "Required Packages" using the IDE. To do that I need a workaround: open the correct package in correct path and then, right click on the dependency to set the "preferred" path using the package opened.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
