Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'QOpenGLFunctions_3_2_Core' does not name a type #198

Open
jmjoy opened this issue Nov 30, 2023 · 0 comments
Open

error: 'QOpenGLFunctions_3_2_Core' does not name a type #198

jmjoy opened this issue Nov 30, 2023 · 0 comments

Comments

@jmjoy
Copy link

jmjoy commented Nov 30, 2023

The error log is:

build/src/frontend/qt_sdl/melonDS_autogen/EWIEGA46WW/moc_main.cpp:527:29: error: 'QOpenGLFunctions_3_2_Core' does not name a type; did you mean 'QOpenGLFunctionsPrivate'?
         return static_cast< QOpenGLFunctions_3_2_Core*>(this);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
                             QOpenGLFunctionsPrivate

It doesn't seem to support my device, because I found in QtGui/qopenglfunctions_3_2_core.h:

#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)

#include <QtGui/QOpenGLVersionFunctions>
#include <QtGui/qopenglcontext.h>

QT_BEGIN_NAMESPACE

class Q_GUI_EXPORT QOpenGLFunctions_3_2_Core : public QAbstractOpenGLFunctions
{
// ...
}

And my device's SDK:

QtGui/qtgui-config.h:

#define QT_FEATURE_accessibility 1
#define QT_NO_ACCESSIBILITY_ATSPI_BRIDGE 
#define QT_FEATURE_action 1
#define QT_FEATURE_opengles2 1
#define QT_OPENGL_ES true
#define QT_OPENGL_ES_2 true
#define QT_FEATURE_angle -1
#define QT_FEATURE_clipboard 1
#define QT_FEATURE_colornames 1
#define QT_FEATURE_combined_angle_lib -1
#define QT_FEATURE_cssparser 1
#define QT_FEATURE_cursor 1
#define QT_FEATURE_desktopservices 1
#define QT_FEATURE_imageformat_xpm 1
#define QT_FEATURE_draganddrop 1
#define QT_FEATURE_dynamicgl -1
#define QT_FEATURE_opengl 1
#define QT_FEATURE_imageformatplugin 1
#define QT_FEATURE_highdpiscaling 1
#define QT_FEATURE_im 1
#define QT_FEATURE_image_heuristic_mask 1
#define QT_FEATURE_image_text 1
#define QT_FEATURE_imageformat_bmp 1
#define QT_FEATURE_imageformat_jpeg 1
#define QT_FEATURE_imageformat_png 1
#define QT_FEATURE_imageformat_ppm 1
#define QT_FEATURE_imageformat_xbm 1
#define QT_FEATURE_movie 1
#define QT_FEATURE_opengles3 1
#define QT_OPENGL_ES_3 true
#define QT_FEATURE_opengles31 -1
#define QT_FEATURE_opengles32 -1
#define QT_FEATURE_openvg -1
#define QT_FEATURE_pdf 1
#define QT_FEATURE_picture 1
#define QT_QPA_DEFAULT_PLATFORM_NAME "eglfs"
#define QT_FEATURE_sessionmanager 1
#define QT_FEATURE_shortcut 1
#define QT_FEATURE_standarditemmodel 1
#define QT_FEATURE_systemtrayicon 1
#define QT_FEATURE_tabletevent 1
#define QT_FEATURE_texthtmlparser 1
#define QT_FEATURE_textodfwriter 1
#define QT_FEATURE_validator 1
#define QT_FEATURE_vulkan 1
#define QT_FEATURE_whatsthis 1
#define QT_FEATURE_wheelevent 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant