Hey Andrea, QGIS can have extra statup logic defined in .qgis2\python\startup.py
or you can start qgis with the --code option qgis --core myfile.py - Nathan On Mon, Apr 28, 2014 at 4:24 PM, Andrea Peri <[email protected]> wrote: > Hi, > > I need to run a python in qgis startup phase. > > I see the option to set the startup code in > project.properties -> macros > > But this solution is not affordable for us, due to security settings. > > So searching another solution, I try if exist an option to say to qgis > (using a parameter in the shell startup ) to run a python code. > > My goal is to produce a python code capable to load a project file and add > some wms layer to the canvas. > > I hope this solution could run without the constraints of security > settings. > > Thx, > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
