qwc-services / qwc-config-generator

QWC Config Generator
2 stars 12 forks source link

Please make categorized layers logic optional, as it adds a hard dependency on QGIS #24

Closed manisandro closed 3 years ago

manisandro commented 4 years ago

The categorized layers logic adds a hard dependency on QGIS, and furthermore assumes it's running on a *nix system (QgsApplication.setPrefixPath("/usr", True)). Please make the logic optional. See [1] in the no_categorized branch as a temporary workaround.

[1] https://github.com/qwc-services/qwc-config-generator/commit/627e7f7eaca1e0f8b724d2b39ab618cfc67eea27

manisandro commented 3 years ago

https://github.com/qwc-services/qwc-config-generator/commit/3e6fc9f15fad320b973fc7b434569dd86b1b1aec