Re: [QGIS-Developer] Pyinstaller to create stand alone app

2022-07-13 Thread Benjamin Jakimow via QGIS-Developer
Hi Luke, it looks like your QGISenv.bat does not add the QGIS internal plugin folder to the PYTHONPATH. You may use something like: set PYTHONPATH=^ %OSGEO4W_ROOT%\apps\%QGIS_ENV%\python;^ %OSGEO4W_ROOT%\apps\%QGIS_ENV%\python\plugins;^ %PYTHONPATH% where OSGEO4W_ROOT is the path to where yo

[QGIS-Developer] Pyinstaller to create stand alone app

2022-07-12 Thread Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer
I have the need to launch QGIS from a python file due to some other checks I need to setup before it is running. I convert this python file to an exe but Windows Defender flags it as a virus. The exe is created from a batch (.cmd) file with the following calls: call "QGISenv.bat" call "python