Squish: Provide functions to create cpp library

Change-Id: Iac24626801cadb28709d24f140862bb4808935df
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Christian Stenger
2014-04-24 16:50:29 +02:00
parent 48bf7c5491
commit e6af796b0a
2 changed files with 82 additions and 1 deletions
+15
View File
@@ -159,3 +159,18 @@ class QtInformation:
QT_VERSION = 0
QT_BINPATH = 1
QT_LIBPATH = 2
class LibType:
SHARED = 0
STATIC = 1
QT_PLUGIN = 2
@staticmethod
def getStringForLib(libType):
if libType == LibType.SHARED:
return "Shared Library"
if libType == LibType.STATIC:
return "Statically Linked Library"
if libType == LibType.QT_PLUGIN:
return "Qt Plugin"
return None