From 553859c25438fc2fd6b8e8a0a1f00565cbb67922 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 13 Sep 2022 16:26:05 +0200 Subject: Move qopengltimerquery.h to a common sources of the QtOpenGL module qopengltimerquery.h contains platform-specific guards inside the file and can be processed for any platform. Fix the issue by adding it to a commong source tree but not the header usage used since it's easier and public header can be used by user-projects directly. Task-number: QTBUG-103196 Task-number: QTBUG-87480 Change-Id: Ic01a7f2d0de56da946c2ed699a8b183f70d5f9d0 Reviewed-by: Alexandru Croitor --- src/opengl/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/opengl') diff --git a/src/opengl/CMakeLists.txt b/src/opengl/CMakeLists.txt index ee386e80bd..8aec1c685b 100644 --- a/src/opengl/CMakeLists.txt +++ b/src/opengl/CMakeLists.txt @@ -28,6 +28,7 @@ qt_internal_add_module(OpenGL qopengltextureglyphcache.cpp qopengltextureglyphcache_p.h qopengltexturehelper.cpp qopengltexturehelper_p.h qopengltextureuploader.cpp qopengltextureuploader_p.h + qopengltimerquery.h qopenglversionfunctions.cpp qopenglversionfunctions.h qopenglversionfunctions_p.h qopenglversionfunctionsfactory.cpp qopenglversionfunctionsfactory.h qopenglversionprofile.cpp qopenglversionprofile.h @@ -86,7 +87,7 @@ qt_internal_extend_target(OpenGL CONDITION NOT QT_FEATURE_opengles2 qopenglfunctions_4_5_compatibility.cpp qopenglfunctions_4_5_compatibility.h qopenglfunctions_4_5_core.cpp qopenglfunctions_4_5_core.h qopenglqueryhelper_p.h - qopengltimerquery.cpp qopengltimerquery.h + qopengltimerquery.cpp ) qt_internal_extend_target(OpenGL CONDITION QT_FEATURE_vulkan -- cgit v1.2.3