Thanks for the info, Jurgen. I will pass this on to my team. Cheers! Ari
On Fri, Aug 13, 2021 at 10:12 AM Jürgen E. Fischer <j...@norbit.de> wrote: > Hi Ari, > > On Thu, 12. Aug 2021 at 17:06:02 -0500, Ari Meyer wrote: > > Thank you, Jurgen -- that trick did the job. Is this "fix" documented > > anywhere? Is there any more reliable solution? I'm concerned that some > of > > our devs won't remember to put qgis higher in the imports, and we'll have > > to keep dealing with this. > > Hm, apparently running %PYTHONHOME%\python instead of just python in > python-qgis-ltr.bat causes this. No exactly sure why, but w/o it will just > import Qt. I guess when run from bin it also finds DLLs there, which it > otherwise doesn't - although bin is in PATH. > > > Also, why is it that we only encounter this problem when running from > > outside of QGIS? When running within QGIS, we don't have any such > issues. > > QGIS imports qgis (and also uses AddDllDirectory directly) > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > Software Engineer D-26506 Norden > https://www.norbit.de > QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user