forked from qt-creator/qt-creator
Squish: Provide functions to create cpp library
Change-Id: Iac24626801cadb28709d24f140862bb4808935df Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user