Results 1 to 3 of 3

Thread: Mac--works w/latest snapshot, but not w/Qt 4.3

  1. #1
    Join Date
    Apr 2007
    Posts
    46
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Mac--works w/latest snapshot, but not w/Qt 4.3

    Qt 4.3.0 fails to compile on OS X, and gives such messages:
    image/qpixmap_mac.cpp:696: error: `PtrCGLChoosePixelFormat' was not declared in
    this scope
    image/qpixmap_mac.cpp:696: error: parse error before `*' token
    image/qpixmap_mac.cpp:696: warning: ISO C++ forbids declaration of `CGLError'
    with no type
    image/qpixmap_mac.cpp:696: error: typedef `CGLError' is initialized (use
    __typeof__ instead)
    .......
    I was wandering if I just have too old XCode (1.5), but the latest snapshot does compile. However, I need 4.3.0, since the snapshot has very bogus OpenGL rendering.
    BTW, I use OS X 10.3, so even if that were the problem, I would not be able to update my XCode to 2.1.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mac--works w/latest snapshot, but not w/Qt 4.3

    What gcc version do you have?

    Mac OS X:

    Please use the latest gcc 3.3 from Apple or better. The gcc 3.3 that is provided with Xcode 1.5 is known to generate bad code, use the November 2004 GCC 3.3 updater available from Apple.
    How come you can't update? It's free .

    Regards

  3. #3
    Join Date
    Apr 2007
    Posts
    46
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mac--works w/latest snapshot, but not w/Qt 4.3

    I did update my gcc 3.3. And as I said, it works fine with the snapshot, but not with 4.3.

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.