2013-01-30 18:19:31 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2013-01-30 18:19:31 +01:00
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator.
|
|
|
|
|
**
|
|
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2013-01-30 18:19:31 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2013-01-30 18:19:31 +01:00
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2013-01-30 18:19:31 +01:00
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
|
|
|
|
|
|
|
|
|
namespace QbsProjectManager {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
|
|
|
|
// Contexts
|
|
|
|
|
const char PROJECT_ID[] = "Qbs.QbsProject";
|
|
|
|
|
|
|
|
|
|
// MIME types:
|
2013-07-25 14:13:43 +02:00
|
|
|
const char MIME_TYPE[] = "application/x-qt.qbs+qml";
|
2013-01-30 18:19:31 +01:00
|
|
|
|
|
|
|
|
// Actions:
|
|
|
|
|
const char ACTION_REPARSE_QBS[] = "Qbs.Reparse";
|
|
|
|
|
const char ACTION_REPARSE_QBS_CONTEXT[] = "Qbs.ReparseCtx";
|
2013-05-27 14:36:59 +02:00
|
|
|
const char ACTION_BUILD_FILE_CONTEXT[] = "Qbs.BuildFileCtx";
|
|
|
|
|
const char ACTION_BUILD_FILE[] = "Qbs.BuildFile";
|
2013-06-10 15:40:18 +02:00
|
|
|
const char ACTION_BUILD_PRODUCT_CONTEXT[] = "Qbs.BuildProductCtx";
|
|
|
|
|
const char ACTION_BUILD_PRODUCT[] = "Qbs.BuildProduct";
|
2014-02-10 17:28:15 +01:00
|
|
|
const char ACTION_BUILD_SUBPROJECT_CONTEXT[] = "Qbs.BuildSubprojectCtx";
|
|
|
|
|
const char ACTION_BUILD_SUBPROJECT[] = "Qbs.BuildSubproduct";
|
2013-01-30 18:19:31 +01:00
|
|
|
|
|
|
|
|
// Ids:
|
|
|
|
|
const char QBS_BUILDSTEP_ID[] = "Qbs.BuildStep";
|
|
|
|
|
const char QBS_CLEANSTEP_ID[] = "Qbs.CleanStep";
|
2013-04-12 16:19:52 +02:00
|
|
|
const char QBS_INSTALLSTEP_ID[] = "Qbs.InstallStep";
|
2013-01-30 18:19:31 +01:00
|
|
|
|
|
|
|
|
// QBS strings:
|
|
|
|
|
static const char QBS_VARIANT_DEBUG[] = "debug";
|
|
|
|
|
static const char QBS_VARIANT_RELEASE[] = "release";
|
|
|
|
|
|
|
|
|
|
static const char QBS_CONFIG_VARIANT_KEY[] = "qbs.buildVariant";
|
|
|
|
|
static const char QBS_CONFIG_PROFILE_KEY[] = "qbs.profile";
|
2013-06-13 17:15:44 +02:00
|
|
|
static const char QBS_CONFIG_DECLARATIVE_DEBUG_KEY[] = "Qt.declarative.qmlDebugging";
|
|
|
|
|
static const char QBS_CONFIG_QUICK_DEBUG_KEY[] = "Qt.quick.qmlDebugging";
|
2016-06-17 17:22:30 +02:00
|
|
|
const char QBS_FORCE_PROBES_KEY[] = "qbspm.forceProbes";
|
2013-01-30 18:19:31 +01:00
|
|
|
|
2013-10-14 14:42:07 +02:00
|
|
|
// Icons:
|
|
|
|
|
static const char QBS_GROUP_ICON[] = ":/qbsprojectmanager/images/groups.png";
|
|
|
|
|
static const char QBS_PRODUCT_OVERLAY_ICON[] = ":/qbsprojectmanager/images/productgear.png";
|
|
|
|
|
|
2016-10-07 16:35:17 +02:00
|
|
|
const char QBS_PROFILING_ENV[] = "QTC_QBS_PROFILING";
|
|
|
|
|
|
2013-01-30 18:19:31 +01:00
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace QbsProjectManager
|