USing ICE from QT app

ngambek2003ngambek2003 Budyanto HimawanOrganization: WMS Inc.Project: Casino back end servicesMember ✭✭
Hi,

I'm trying to integrate ICE into a QT app. Right now what we have done is initialize the communicator from QT.

What we noticed is that QT's event loop seem to have stopped receiving events.

What is the best way to perform this integration?

Thanks
Budyanto

Comments

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Hi,

    In general, the Ice communicator is initialized form the main thread when the application is started.

    The communicator initialization should in theory not block so it's not clear to me why the Qt even loop hangs if you initialize the communicator from the event loop. Did you check the stack traces to see if it provides any clues? Do you use Ice 3.4.0 or an older version?

    Cheers,
    Benoit.
Sign In or Register to comment.