summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/qnx-X11-g++
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@kdab.com>2012-03-07 08:53:14 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-08 00:40:13 +0100
commit1e0021d8d9e374ae3959fcd4eac5d9e7238cbc54 (patch)
tree2cb0e30916bb9fe9503fbb304514251083a4ee3d /mkspecs/unsupported/qnx-X11-g++
parent41ba5997bba81e225dbc449bb60ac86d88ed7fe3 (diff)
Renaming QNX mkspecsv4.8.1
Renamed from blackberry-* to qnx-* in order to match he <platform>-<compiler> pattern. cherry-picked from qt5/qtbase 6e58dd34ac96e2cf0807a227caaef74d15e272e7 Change-Id: I793af8d1a2053ccf37aaefd5849267797d0ee021 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/unsupported/qnx-X11-g++')
-rw-r--r--mkspecs/unsupported/qnx-X11-g++/qmake.conf19
-rw-r--r--mkspecs/unsupported/qnx-X11-g++/qplatformdefs.h42
2 files changed, 61 insertions, 0 deletions
diff --git a/mkspecs/unsupported/qnx-X11-g++/qmake.conf b/mkspecs/unsupported/qnx-X11-g++/qmake.conf
new file mode 100644
index 0000000000..e354b2c228
--- /dev/null
+++ b/mkspecs/unsupported/qnx-X11-g++/qmake.conf
@@ -0,0 +1,19 @@
+#
+# qmake configuration for qnx-g++
+#
+# Written for QNX RTOS v6 with X11
+#
+
+include(../../common/qnx/qmake.conf)
+
+QMAKE_INCDIR_X11 = /opt/X11R6/include
+QMAKE_LIBDIR_X11 = /opt/X11R6/lib
+QMAKE_INCDIR_OPENGL = /opt/X11R6/include
+QMAKE_LIBDIR_OPENGL = /opt/X11R6/lib
+
+QMAKE_LIBS_X11 = -lXext -lX11 -lm -lsocket
+QMAKE_LIBS_X11SM = -lSM -lICE
+QMAKE_LIBS_OPENGL = -lGL
+QMAKE_LIBS_OPENGL_QT = -lGL
+
+load(qt_config)
diff --git a/mkspecs/unsupported/qnx-X11-g++/qplatformdefs.h b/mkspecs/unsupported/qnx-X11-g++/qplatformdefs.h
new file mode 100644
index 0000000000..e848982df6
--- /dev/null
+++ b/mkspecs/unsupported/qnx-X11-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"