[Qt-interest] Using a Qt class in a non-Qt app?
Brad Howes
howes at ll.mit.edu
Wed Sep 30 22:48:31 CEST 2009
On Sep 30, 2009, at 3:40 PM, Brant Sears wrote:
> The problem I am having is that my slots are not getting called which
> I think is because I do not have a QApplication. Therefore, there
> isn't an application run loop dispatching these events.
I believe you can create your own Cocoa event loop, and just call
QCoreApplication::processEvents() and
QCoreApplication::sendPostedEvents() to integrate with Qt.
Brad
--
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
More information about the Qt-interest-old
mailing list