Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )
Hi,
I have configured Qt 4.7.2 as follows:
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 -universal
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?
Re: Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )
Having headers is certainly not enough if you don't have the libs... Anyway, please post the part of your configure log that displays the enabled and disabled features that are going to be built into Qt.
Re: Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )
It's like you wrote nothing... Oo The error appears during the compilation, not during the link time... Also, the configure log ( configure.cache? ) displays the same options as the ones passed to the configure script...
Re: Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )
Quote:
Originally Posted by
vizz
It's like you wrote nothing...
Getting me irritated is the last thing you want, trust me.
Quote:
Oo The error appears during the compilation, not during the link time...
Your point?
Quote:
Also, the configure log ( configure.cache? ) displays the same options as the ones passed to the configure script...
I didn't say anything about configure.cache. Run configure and actually LOOK at its output. All of it. And paste here the part that says about enabled and disabled features (hint, it will contain a bunch of "yes" and "no" lines).