[Qt-interest] Carbon APIs not working for Qt4.5.3 (qt-mac-cocoa)

Manish Chaturvedi manish_chaturvedi at persistent.co.in
Tue Oct 27 17:45:00 CET 2009


Thanks a lot Thiago for the clarification! settingWindowFlag() with Qt::WindowsStaysOnTopHint is not working as expected. Is it still a bug in Qt4.5.3 Cocoa release. I found it works with qt-commercial i.e. non cocoa version.

Thanks again
Manish

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Thiago Macieira
Sent: Tuesday, October 27, 2009 9:27 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Carbon APIs not working for Qt4.5.3 (qt-mac-cocoa)

Em Terça-feira 27 Outubro 2009, às 10:25:34, você escreveu:
> Hi All,
> 
> Recently I upgraded my Mac's qt version from Qt4.3.4 to Qt 4.5.3,  I 
> was  extensively using Carbon API and event handlers in my GUI 
> application, but  it seems none of them are working after thus 
> upgrade, also there is no  effect of windows flag now. I am not able 
> to make my windows stay on top  even after setting windows flag for the same i.e.
>  setWindowsFlag(Qt::WindowsStaysOnTopHint).
> 
> Does anyone has idea that how to call Carbon API from Qt4.5.3 Mac port  
> application. Any help will be appreciated!!

Hi Manish.

You can't (or shouldn't) use Carbon API from the Cocoa version of Qt. If you need to use Carbon in your application, you should use the Carbon version of Qt.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.




More information about the Qt-interest-old mailing list