Timeline for QgsProject.layerTreeRoot() contains no layers
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 4, 2017 at 5:07 | comment | added | Todd West | Thanks! I'd tried a few variants of calling setPrefixPath() but hadn't hit on the right combination of path and positioning of the call. Edited the initial script for clarity as to the correct approach. | |
Jul 4, 2017 at 5:04 | vote | accept | Todd West | ||
Jul 4, 2017 at 1:18 | comment | added | xunilk | Practically, I almost always work on Linux. So, I didn't experience that issue. +1 | |
Jul 4, 2017 at 1:01 | history | edited | Germán Carrillo | CC BY-SA 3.0 |
added 81 characters in body
|
Jul 4, 2017 at 0:56 | history | edited | Germán Carrillo | CC BY-SA 3.0 |
added 81 characters in body
|
Jul 4, 2017 at 0:49 | comment | added | Germán Carrillo | By the way, on my Linux machine your original script works fine. It's only on Windows that I need to set the prefix path explicitly. | |
Jul 4, 2017 at 0:45 | history | answered | Germán Carrillo | CC BY-SA 3.0 |