2012-10-02 09:12:39 +02:00
|
|
|
/****************************************************************************
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2013-01-28 17:12:19 +01:00
|
|
|
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
|
2012-10-02 09:12:39 +02:00
|
|
|
** Contact: http://www.qt-project.org/legal
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** 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
|
|
|
|
|
** a written agreement between you and Digia. For licensing terms and
|
|
|
|
|
** conditions see http://qt.digia.com/licensing. For further information
|
|
|
|
|
** use the contact form at http://qt.digia.com/contact-us.
|
2008-12-02 14:17:16 +01:00
|
|
|
**
|
2009-02-25 09:15:00 +01:00
|
|
|
** GNU Lesser General Public License Usage
|
2012-10-02 09:12:39 +02:00
|
|
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
|
|
|
** General Public License version 2.1 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
|
|
|
** packaging of this file. Please review the following information to
|
|
|
|
|
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
|
|
|
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
|
|
|
**
|
|
|
|
|
** In addition, as a special exception, Digia gives you certain additional
|
|
|
|
|
** rights. These rights are described in the Digia Qt LGPL Exception
|
2010-12-17 16:01:08 +01:00
|
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2008-12-02 16:19:05 +01:00
|
|
|
|
2013-10-29 16:08:37 +01:00
|
|
|
#ifndef QMAKEPROJECTMANAGERCONSTANTS_H
|
|
|
|
|
#define QMAKEPROJECTMANAGERCONSTANTS_H
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QtGlobal>
|
2009-11-27 16:12:12 +01:00
|
|
|
|
2013-10-16 11:02:37 +02:00
|
|
|
namespace QmakeProjectManager {
|
2008-12-02 12:01:29 +01:00
|
|
|
namespace Constants {
|
|
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
// Contexts
|
|
|
|
|
const char C_PROFILEEDITOR[] = ".pro File Editor";
|
|
|
|
|
|
|
|
|
|
// Menus
|
|
|
|
|
const char M_CONTEXT[] = "ProFileEditor.ContextMenu";
|
|
|
|
|
|
|
|
|
|
// Kinds
|
|
|
|
|
const char PROJECT_ID[] = "Qt4.Qt4Project";
|
|
|
|
|
const char PROFILE_EDITOR_ID[] = "Qt4.proFileEditor";
|
|
|
|
|
const char PROFILE_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("OpenWith::Editors", ".pro File Editor");
|
2013-07-23 12:22:12 +02:00
|
|
|
const char PROFILE_MIMETYPE[] = "application/vnd.qt.qmakeprofile";
|
2013-05-21 23:37:47 +03:00
|
|
|
const char PROINCLUDEFILE_MIMETYPE [] = "application/vnd.qt.qmakeproincludefile";
|
|
|
|
|
const char PROFEATUREFILE_MIMETYPE [] = "application/vnd.qt.qmakeprofeaturefile";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_SOURCE_MIMETYPE[] = "text/x-c++src";
|
|
|
|
|
const char CPP_HEADER_MIMETYPE[] = "text/x-c++hdr";
|
|
|
|
|
const char FORM_MIMETYPE[] = "application/x-designer";
|
|
|
|
|
const char LINGUIST_MIMETYPE[] = "application/x-linguist";
|
|
|
|
|
|
|
|
|
|
// Actions
|
|
|
|
|
const char RUNQMAKE[] = "Qt4Builder.RunQMake";
|
|
|
|
|
const char RUNQMAKECONTEXTMENU[] = "Qt4Builder.RunQMakeContextMenu";
|
|
|
|
|
const char BUILDSUBDIR[] = "Qt4Builder.BuildSubDir";
|
|
|
|
|
const char REBUILDSUBDIR[] = "Qt4Builder.RebuildSubDir";
|
|
|
|
|
const char CLEANSUBDIR[] = "Qt4Builder.CleanSubDir";
|
2012-05-04 16:25:41 +03:00
|
|
|
const char BUILDFILE[] = "Qt4Builder.BuildFile";
|
2012-04-12 15:56:02 +04:00
|
|
|
const char BUILDSUBDIRCONTEXTMENU[] = "Qt4Builder.BuildSubDirContextMenu";
|
|
|
|
|
const char REBUILDSUBDIRCONTEXTMENU[] = "Qt4Builder.RebuildSubDirContextMenu";
|
|
|
|
|
const char CLEANSUBDIRCONTEXTMENU[] = "Qt4Builder.CleanSubDirContextMenu";
|
2012-05-14 22:46:23 +03:00
|
|
|
const char BUILDFILECONTEXTMENU[] = "Qt4Builder.BuildFileContextMenu";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char ADDLIBRARY[] = "Qt4.AddLibrary";
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2010-03-10 16:55:37 +01:00
|
|
|
// Tasks
|
2011-11-02 16:45:13 +01:00
|
|
|
const char PROFILE_EVALUATE[] = "Qt4ProjectManager.ProFileEvaluate";
|
2010-03-10 16:55:37 +01:00
|
|
|
|
2010-07-16 14:00:41 +02:00
|
|
|
// Project
|
2013-10-29 16:08:37 +01:00
|
|
|
const char QMAKEPROJECT_ID[] = "Qt4ProjectManager.Qt4Project";
|
2010-07-16 14:00:41 +02:00
|
|
|
|
2010-07-30 22:16:59 +02:00
|
|
|
// ICONS
|
2011-11-02 16:45:13 +01:00
|
|
|
const char ICON_QTQUICK_APP[] = ":/wizards/images/qtquickapp.png";
|
|
|
|
|
const char ICON_HTML5_APP[] = ":/wizards/images/html5app.png";
|
2010-07-30 22:16:59 +02:00
|
|
|
|
2010-08-09 22:21:07 +02:00
|
|
|
// Env variables
|
2011-11-02 16:45:13 +01:00
|
|
|
const char QMAKEVAR_QMLJSDEBUGGER_PATH[] = "QMLJSDEBUGGER_PATH";
|
2012-11-21 17:46:58 +01:00
|
|
|
const char QMAKEVAR_QUICK1_DEBUG[] = "CONFIG+=declarative_debug";
|
|
|
|
|
const char QMAKEVAR_QUICK2_DEBUG[] = "CONFIG+=qml_debug";
|
2010-08-09 22:21:07 +02:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
} // namespace Constants
|
2013-10-16 11:02:37 +02:00
|
|
|
} // namespace QmakeProjectManager
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2013-10-29 16:08:37 +01:00
|
|
|
#endif // QMAKEPROJECTMANAGERCONSTANTS_H
|