Results 1 to 4 of 4

Thread: Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )

  1. #1
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )

    Hi,

    I have configured Qt 4.7.2 as follows:

    Qt Code:
    1. ./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
    To 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?
    Last edited by vizz; 4th March 2011 at 11:00.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default 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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Dec 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default 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...

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Configure & Build Minimal Qt 4.7.2 on Mac OS X ( 10.5 )

    Quote Originally Posted by vizz View Post
    It's like you wrote nothing...
    Getting me irritated is the last thing you want, trust me.
    Oo The error appears during the compilation, not during the link time...
    Your point?
    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).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Problem Configure openssl static build
    By moh.gup@gmail.com in forum Installation and Deployment
    Replies: 0
    Last Post: 16th March 2010, 17:28
  2. How to configure/build 64-bit applications on Mac?
    By iraytrace in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2010, 21:52
  3. Replies: 3
    Last Post: 5th May 2009, 15:46
  4. Replies: 2
    Last Post: 4th December 2007, 22:20
  5. Configure QT vs build plugins manually!!!
    By nnidza in forum Newbie
    Replies: 9
    Last Post: 16th January 2007, 21:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.