2

I want to create a portable QGIS. It can be done by copy the folder of QGIS2 and put in other computer. And if I want to run python in startup, I have to put the startup file in C:\Users\USER\.qgis2\python.

So, I can't do it the way in : Disable QGis Tips Panel when application start

I want to do this in python. I have to input the script in startup file. So, how could I script this?

1 Answer 1

2

If you want to disable the QGIS tips, you could use the following in your startup script (assuming this is for QGIS 2.18):

from PyQt4.QtCore import QSettings
QSettings().setValue("/Qgis/showTips218", False)
1
  • @mega - Most welcome, glad it works :)
    – Joseph
    Feb 16, 2017 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.