diff options
author | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-02-23 13:42:26 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-02-23 13:44:27 +0000 |
commit | cc48526dfb85701629ad19bd1dadf88af5482800 (patch) | |
tree | 3d6bbffec92fe16f3744cb575c6c49950ba79c8f /tools/qmake/config.tests/khr/khr.cpp | |
parent | 9c279bec0cac934f3c8495c8c5ecba8ad59be47d (diff) |
Add config test for Khronos development headers
These are needed on Linux, since the core layer can
not rely on the shipped third_party/khronos headers
because that would break the build on GLES configs.
Change-Id: I598f58a9830b31a56425db60b7fc36c3f34f8581
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'tools/qmake/config.tests/khr/khr.cpp')
-rw-r--r-- | tools/qmake/config.tests/khr/khr.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tools/qmake/config.tests/khr/khr.cpp b/tools/qmake/config.tests/khr/khr.cpp new file mode 100644 index 000000000..6182df286 --- /dev/null +++ b/tools/qmake/config.tests/khr/khr.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the QtWebEngine module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later 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 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <KHR/khrplatform.h> + +int main(int, char **) +{ + const khronos_boolean_enum_t kfalse = KHRONOS_FALSE; + const khronos_boolean_enum_t ktrue = KHRONOS_TRUE; + return kfalse == ktrue; +} |