QGIS/cmake/FindQsci.py
Larry Shaffer e8edb950e4 Add CMake finds for QScintilla2 and Qsci module
- Needs testing on Windows platform
- Add QScintilla2 library version info to About dialog
- Add Mac bundling support for Qwt 6 framework and QScintilla2
- Fallback to sys or custom site-pkgs when looking for PyQt4 modules to Mac bundle
2012-10-22 20:45:14 -06:00

20 lines
517 B
Python

# -*- coding: utf-8 -*-
"""Find QScintilla2 PyQt4 module version.
.. note:: Redistribution and use is allowed according to the terms of the BSD
license. For details see the accompanying COPYING-CMAKE-SCRIPTS file.
"""
__author__ = 'Larry Shaffer (larry@dakotacarto.com)'
__date__ = '22/10/2012'
__copyright__ = 'Copyright 2012, The Quantum GIS Project'
try:
from PyQt4.Qsci import QSCINTILLA_VERSION_STR
VER = QSCINTILLA_VERSION_STR
except ImportError, e:
VER = ""
print("qsci_version_str:%s" % VER)