[Lazarus] Changing package versions
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Feb 7 11:20:45 CET 2015
On Sat, 7 Feb 2015 00:30:55 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>[...]
> This should work:
> - Initially, fpspreadsheet v1.5 is installed.
> - Open packages (.lpk) of fpspreadsheets 1.4.
> - Rebuild the IDE. This should compile with fpspreadsheets 1.4.
> - Restart IDE. It should load fpspreadsheets 1.4.
> - If you open a project with a dependency for 1.5, 1.5 will be
> loaded.
Note:
By default the IDE creates project dependencies only with a name,
*without* any version or file preference. That means the project will
take any package that fits the name, which usually is the last opened
lpk with that name, which could be 1.4 or 1.5 or whatever.
An example for 1.5 fpspreadsheets in a sub directory of the
fpspreadsheets repository, should set the "preferred" file name (right
click on the dependency) to enforce loading the 1.5 version.
Mattias
More information about the Lazarus
mailing list