summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_openglextensions_module
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_openglextensions_module')
-rw-r--r--tests/auto/cmake/test_openglextensions_module/CMakeLists.txt22
-rw-r--r--tests/auto/cmake/test_openglextensions_module/main.cpp43
2 files changed, 0 insertions, 65 deletions
diff --git a/tests/auto/cmake/test_openglextensions_module/CMakeLists.txt b/tests/auto/cmake/test_openglextensions_module/CMakeLists.txt
deleted file mode 100644
index 3c23bce2bd..0000000000
--- a/tests/auto/cmake/test_openglextensions_module/CMakeLists.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-
-cmake_minimum_required(VERSION 2.8)
-
-project(test_openglextensions_module)
-
-find_package(Qt5OpenGLExtensions 5.1.0 REQUIRED)
-
-include_directories(
- ${Qt5OpenGLExtensions_INCLUDE_DIRS}
-)
-
-add_definitions(
- ${Qt5OpenGLExtensions_DEFINITIONS}
-)
-
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5OpenGLExtensions_EXECUTABLE_COMPILE_FLAGS}")
-
-add_executable(mainapp main.cpp)
-
-target_link_libraries(mainapp
- ${Qt5OpenGLExtensions_LIBRARIES}
-)
diff --git a/tests/auto/cmake/test_openglextensions_module/main.cpp b/tests/auto/cmake/test_openglextensions_module/main.cpp
deleted file mode 100644
index ddaadc0791..0000000000
--- a/tests/auto/cmake/test_openglextensions_module/main.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2013 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly <stephen.kelly@kdab.com>
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the test suite of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** 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 https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** 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.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QtOpenGLExtensions>
-#include <QtOpenGLExtensions/QtOpenGLExtensions>
-#include <QtOpenGLExtensions/QOpenGLExtensions>
-#include <QOpenGLExtensions>
-
-int main(int argc, char **argv)
-{
-#if QT_CONFIG(opengles2)
- QOpenGLExtension_OES_vertex_array_object obj;
-#else
- QOpenGLExtension_ARB_draw_buffers obj;
-#endif
-
- return 0;
-}