views:

302

answers:

1

I am trying to write a Trolltech QT library that will be used from a NON-QT CFM Application written in MacApp. I am having trouble that when I have created QApplication it is taking over my event loop in my non-Qt MacApp mac application. I have override QApplication::macEventFilter to call CallNextEventHandler but this calls my Carbon Event Handler in the MacApp Application but events like selecting a menu item do not work yet hot keys to the same item work fine. I am in desperate need to figure this out. Is there a Mac Version of QMFCApp. I need to get this to work and get it to work the right way. Button clicks and menu items do not seem to work but other events such as typing seem to function. I think I some how need to deal with old EventRecord events and repost the event but I am not sure. How do I get QT to work as a plugin in my old Application. Please help I am desperate.

Grant Hickey

A: 

Is it correct you are trying to develop an application for Mac OS 9? MacApp has been discontinued for almost a decade and it seems like you're trying to mash together technologies that really aren't meant to be mixed.

Perhaps you could describe what you are trying to do at a higher level, and what your constraints are? I expect there must be an easier way using more modern bits.

Joey Hagedorn