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: invalid conversion #40

Open
fleixi opened this issue Apr 26, 2015 · 4 comments
Open

error: invalid conversion #40

fleixi opened this issue Apr 26, 2015 · 4 comments

Comments

@fleixi
Copy link

fleixi commented Apr 26, 2015

if i try to compile it on QT5.5 i get this error:

qeglfscontext.cpp: In constructor 'QEglFSContext::QEglFSContext(HwComposerContext_, QEglFSPageFlipper_, const QSurfaceFo
rmat&, QPlatformOpenGLContext_, EGLDisplay)':
qeglfscontext.cpp:66:97: error: invalid conversion from 'EGLConfig {aka void_}' to 'void**' [-fpermissive]
, QEglFSIntegration::chooseConfig(display, hwc->surfaceFormatFor(format))
^
In file included from qeglfscontext.h:46:0,
from qeglfscontext.cpp:42:
/usr/local/Qt-5.5.0/include/QtPlatformSupport/5.5.0/QtPlatformSupport/private/qeglplatformcontext_p.h:59:5: note: initia
lizing argument 4 of 'QEGLPlatformContext::QEGLPlatformContext(const QSurfaceFormat&, QPlatformOpenGLContext*, EGLDispla
y, void**, const QVariant&)'
QEGLPlatformContext(const QSurfaceFormat &format, QPlatformOpenGLContext share, EGLDisplay display,
^
Makefile:2218: recipe for target '.obj/qeglfscontext.o' failed
make: *
* [.obj/qeglfscontext.o] Error 1

@thp
Copy link
Contributor

thp commented Apr 28, 2015

Yeah, the plugin uses some Qt internals that need porting from one Qt version to another.

@fleixi
Copy link
Author

fleixi commented Apr 29, 2015

the same happen with qt5.4.2 so what’s the last version working with this plugin?

@rburchell
Copy link
Contributor

The only heavily tested version is the Qt version in https://github.com/mer-qt/, which is (very roughly) at a heavily patched 5.2 level, but others have tried other versions. Feel free to submit fixes for newer versions.

@Herrie82
Copy link
Contributor

This should most probably be fixed with #80

We have been using the plugin since early Qt5 releases and are now up to Qt 5.12.3 and it's working with above PR.

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

4 participants