<commit_before>/* +------------------------------------------------------------------------+
   |                     Mobile Robot Programming Toolkit (MRPT)            |
   |                          http://www.mrpt.org/                          |
   |                                                                        |
   | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file     |
   | See: http://www.mrpt.org/Authors - All rights reserved.                |
   | Released under BSD License. See details in http://www.mrpt.org/License |
   +------------------------------------------------------------------------+ */

#pragma once
#include <mrpt/gui/CGlCanvasBase.h>
#include <mrpt/gui/link_pragmas.h>

#include <mrpt/config.h>
#if MRPT_HAS_Qt5

#include <QOpenGLWidget>

namespace mrpt
{
namespace gui
{
class GUI_IMPEXP CQtGlCanvasBase : public QOpenGLWidget,
								   public mrpt::gui::CGlCanvasBase
{
   public:
	CQtGlCanvasBase(QWidget* parent = nullptr);<commit_msg>fix build against Qt<5.4<commit_after>/* +------------------------------------------------------------------------+
   |                     Mobile Robot Programming Toolkit (MRPT)            |
   |                          http://www.mrpt.org/                          |
   |                                                                        |
   | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file     |
   | See: http://www.mrpt.org/Authors - All rights reserved.                |
   | Released under BSD License. See details in http://www.mrpt.org/License |
   +------------------------------------------------------------------------+ */

#pragma once
#include <mrpt/gui/CGlCanvasBase.h>
#include <mrpt/gui/link_pragmas.h>

#include <mrpt/config.h>
#if MRPT_HAS_Qt5

#include <QtGlobal>
#if QT_VERSION < QT_VERSION_CHECK(5, 4, 0)
#include <QGLWidget>
using QOpenGLWidget = QGLWidget;
#else
#include <QOpenGLWidget>
#endif

namespace mrpt
{
namespace gui
{
class GUI_IMPEXP CQtGlCanvasBase : public QOpenGLWidget,
								   public mrpt::gui::CGlCanvasBase
{
   public:
	CQtGlCanvasBase(QWidget* parent = nullptr);
{'fraction_non_alphanumeric': 0.2262739597942964, 'fraction_numerical': 0.010752688172043012, 'mean_word_length': 1.2790202342917998, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4928738', 'n_tokens_mistral': 619, 'n_tokens_neox': 570, 'n_words': 126}