Yes, that! Thanks!
Raymond
On 21-10-2020 23:31, Fernando M. Roxo da Motta wrote:
On Wed, 21 Oct 2020 17:18:05 +0200, Raymond Nijssen
wrote:
This script works for me. But I'm not all sure about the way I start
a new process for QGIS and quit the python script. I think ending the
command
On Wed, 21 Oct 2020 17:18:05 +0200, Raymond Nijssen
wrote:
> This script works for me. But I'm not all sure about the way I start
> a new process for QGIS and quit the python script. I think ending the
> command with an "&" only works on unix kind of systems..
Perhaps the 'run()' method of
I tried to make a quick and dirty cross platform one with zenity that will
work OOTB without worrying about the python environment setup. Didn't work
as planned as the zenity portable app for windows seems a bit glitchy
(there's no way to cancel I could find). Anyway, it should work OOTB on
Gnome,
This script works for me. But I'm not all sure about the way I start a
new process for QGIS and quit the python script. I think ending the
command with an "&" only works on unix kind of systems..
---
import sys
import os
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout,
On 10/21/20 1:21 PM, Lars I. Nielsen, LIFA A/S wrote:
> Hi list.
>
> If I have multiple profiles defined, is it possible to have QGIS prompt me
> everytime for which profile to use ?
>
> I know that I can add “--profile NAME” to the command line, but is looking
> for a way to avoid having
If you don't want to bother with a full blown python app, on windows you
could pretty easily make a "custom-profile-qgis.cmd" batchfile with
something like the following:
@echo off
@setlocal enableextensions
@cd /d "%~dp0"
Set
Hi Lars,
I don't think you can. You can make a startup.py script that runs every
time you start QGIS, but it sits in your profile folder. So when QGIS
runs it, QGIS must already be aware of the profile that is being used.
Also, changing the profile needs a QGIS restart, so it seems QGIS
Hi list.
If I have multiple profiles defined, is it possible to have QGIS prompt me
everytime for which profile to use ?
I know that I can add "--profile NAME" to the command line, but is looking for
a way to avoid having multiple start icons.
Med venlig hilsen
Lars I. Nielsen, LIFA A/S