[QGIS-Developer] QGIS version 3.98 instead of 3.99 ?
Andrea Giudiceandrea
andreaerdna at libero.it
Fri Jun 27 08:39:18 PDT 2025
Hi Richard,
have you received my previous message in this thread?
As explained, QGIS 3.99.0-Master behaves like it was already QGIS 4.0.0
when dealing with plugins due to PR "Make QGIS 2.99 compatible with 3.0
plugins by introducing PyQGIS API version", so all the external plugins
having max version tag set to 3.99 (like 99% of the currently available
plugins) and the core ones are rejected. Moreover, the plugins.xml for
qgis=4.0 is not available, so the official plugin repository doesn't
currently work in QGIS 3.99.0-Master.
In order to restore the capability of your local build of QGIS
3.99.0-Master to use and install any external plugin having the max
version tag set to 3.99.0 and the core ones, as it should normally be, I
think you could make the following changes that actually revert such PR:
- remove the following lines from src/app/qgspluginregistry.cpp#L258-L265:
```
if ( qgisMinor == 99 )
{
// we want the API version, so for x.99 bump it up to the next
major release: e.g. 2.99 to 3.0.0
qgisMajor++;
qgisMinor = 0;
qgisBugfix = 0;
};
```
- remove the following lines from
python/pyplugin_installer/version_compare.py#L165-L167:
```
if y == "99":
x = str(int(x) + 1)
y = z = "0"
```
Regards.
Andrea
Il 27/06/2025 14:59, Richard Duivenvoorde via QGIS-Developer ha scritto:
> On 25-06-2025 11:41, Richard Duivenvoorde via QGIS-Developer wrote:
>
>> So maybe best that I make a local edit?
>> https://github.com/qgis/QGIS/blob/master/CMakeLists.txt#L64
>
> Argh that did not work, because the QGIS version is used to retrieve the
> plugins, and between 3.44 and 3.99 there is nothing available :-(
More information about the QGIS-Developer
mailing list