Compile ClearCase plugin on Mac but keep it disabled.

Change-Id: I43f09324ad2502a64bb51c4b6cde337ebbe18132
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2013-07-16 17:20:08 +02:00
parent 762099487c
commit 76a3007eeb
4 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
<plugin name=\"ClearCase\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_COMPAT_VERSION\">
<plugin name=\"ClearCase\" version=\"$$QTCREATOR_VERSION\" compatVersion=\"$$QTCREATOR_COMPAT_VERSION\" disabledByDefault=\"$$CLEARCASE_DISABLED_STR\">
<vendor>AudioCodes</vendor>
<copyright>(C) 2013 AudioCodes Ltd.</copyright>
<license>

View File

@@ -1,5 +1,8 @@
# PROVIDER = AudioCodes
macx: CLEARCASE_DISABLED_STR = "true"
else: CLEARCASE_DISABLED_STR = "false"
include(../../qtcreatorplugin.pri)
HEADERS += activityselector.h \

View File

@@ -6,7 +6,7 @@ QtcPlugin {
name: "ClearCase"
// provider: "AudioCodes"
condition: !qbs.targetOS.contains("osx")
pluginspecreplacements: ({"CLEARCASE_DISABLED_STR": (qbs.targetOS.contains("osx") ? "true": "false")})
Depends { name: "Qt.widgets" }
Depends { name: "Core" }

View File

@@ -46,7 +46,8 @@ SUBDIRS = \
madde \
valgrind \
todo \
qnx
qnx \
clearcase
exists(../shared/qbs/qbs.pro): \
SUBDIRS += \
@@ -61,10 +62,6 @@ isEmpty(IDE_PACKAGE_MODE) {
updateinfo
}
!macx: \
SUBDIRS += \
clearcase
contains(QT_CONFIG, declarative)|!isEmpty(QT.declarative.name) {
SUBDIRS += \
qmlprojectmanager \