Hi,
I have configured Qt 4.7.2 as follows:
Qt Code:
./configure -debug-and-release -opensource -static -fast -no-pch -no-sql-sqlite -no-qt3support -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative -no-declarative-debug -platform macx-g++ -no-mmx -no-3dnow -no-sse -no-sse2 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -no-opengl -no-egl -no-openvg -no-xshape -no-xvideo -no-xsync -no-gif -no-libmng -qt-libmng -no-libtiff -qt-libjpeg -nomake demos -nomake examples -nomake translations -nomake docs -confirm-license -universalTo copy to clipboard, switch view to plain text mode
But, no matter what i try, i keep getting errors when doing make.
First was an error like:
src/gui/egl/qegl_p.h -> EGL/egl.h -> No such file or directory
The relevant source excerpt is ( src/gui/egl/qegl_p.h ):
58 #ifndef QT_NO_EGL
59 #if defined(QT_OPENGL_ES_2)
60 # include <GLES2/gl2.h>
61 #endif
62
63 #if defined(QT_GLES_EGL)
64 # include <GLES/egl.h>
65 #else
66 # include <EGL/egl.h>
67 #endif
68 #if !defined(EGL_VERSION_1_2)
69 typedef unsigned int EGLenum;
70 typedef void *EGLClientBuffer;
71 #endif
Which i resolved getting all EGL specific files from here:
http://www.khronos.org/registry/egl/
( basicaly i have put them into src/gui/egl and src/gui/khr directories; just like the headers are written )
Then i got error like ( src/gui/egl/eglplatform.h ):
#platform not recognized
As there are no Mac OS X specifics [#ifdef]'s or [#if defined]s......
Any ideas how to resolve this peticular configuration?
Bookmarks