summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/qnx-i386-g++
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2012-03-01 13:53:34 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-06 23:42:38 (GMT)
commit093929e29f22f116584fc36ccb5d545799c2871a (patch)
tree2da2b93a74ccc79cea2da89732f9f47a30124e5b /mkspecs/qws/qnx-i386-g++
parent0324bb17f7cb0e855ca1d7adb2d0e171b19dfd06 (diff)
downloadQt-093929e29f22f116584fc36ccb5d545799c2871a.zip
Qt-093929e29f22f116584fc36ccb5d545799c2871a.tar.gz
Qt-093929e29f22f116584fc36ccb5d545799c2871a.tar.bz2
Move qws/qnx-* mkspec files from unsupported
As QNX in now a supported platform, move mkspec files away from unsupported folder. Change-Id: I31f806b5d5217cfb0420dc74dc7a5eea33c1598d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/qws/qnx-i386-g++')
-rw-r--r--mkspecs/qws/qnx-i386-g++/qmake.conf24
-rw-r--r--mkspecs/qws/qnx-i386-g++/qplatformdefs.h42
2 files changed, 66 insertions, 0 deletions
diff --git a/mkspecs/qws/qnx-i386-g++/qmake.conf b/mkspecs/qws/qnx-i386-g++/qmake.conf
new file mode 100644
index 0000000..40edc91
--- /dev/null
+++ b/mkspecs/qws/qnx-i386-g++/qmake.conf
@@ -0,0 +1,24 @@
+#
+# qmake configuration for qnx-i386-g++
+#
+# Written for QNX RTOS v6
+#
+
+include(../../common/qnx/qmake.conf)
+
+# modifications to g++-base.conf
+QMAKE_CC = ntox86-gcc
+QMAKE_CXX = ntox86-g++
+
+QMAKE_LINK = ntox86-g++
+QMAKE_LINK_SHLIB = $$QMAKE_LINK
+QMAKE_LINK_C = ntox86-gcc
+QMAKE_LINK_C_SHLIB = $$QMAKE_LINK_C
+
+# modifications to linux.conf
+QMAKE_AR = ntox86-ar cqs
+QMAKE_OBJCOPY = ntox86-objcopy
+QMAKE_RANLIB = ntox86-ranlib
+QMAKE_STRIP = ntox86-strip
+
+load(qt_config)
diff --git a/mkspecs/qws/qnx-i386-g++/qplatformdefs.h b/mkspecs/qws/qnx-i386-g++/qplatformdefs.h
new file mode 100644
index 0000000..e848982
--- /dev/null
+++ b/mkspecs/qws/qnx-i386-g++/qplatformdefs.h
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** 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, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../common/qnx/qplatformdefs.h"