×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    How to call One Qt application into another Qt application.

    Hi,

    i have two separate applications like

    1.calculator application
    2.Marks application

    when ever i need to calculate the marks i will enter all the marks in Marks application and i need to call that calculator application .After calculating the marks,it should return the total to the Marks application then come back to the Mark application

    how this scenario will achieve in Qt

    please help me with your valuable guidance

    Thank you

  2. #2
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    Is it possible to call one Qt application into another Qt application?

    Hi,

    Please tell me any one

    is it possible to call one Qt application into another Qt application

    if it is possible tell me the solution

    thanks in advance

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Re: Is it possible to call one Qt application into another Qt application?

    There is no Qt API for embedding a Qt application into another Qt application. If you wish to use widgets from one Qt application in another, then you can use Qt’s QAxServer module to turn your application executable into an out-of-process ActiveX server that can run the control, see

    http://doc.qt.nokia.com/4.6/qaxserver.html

    The client application can then use Qt’s QAxContainer to embed the control. Note however that widgets can’t co-exist in 2 different applications. The QAxServer will create a new instance of the widget whenever it is queried, as widgets can’t be shared between applications.
    nayan trivedi.

  4. #4
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    77

    Re: Is it possible to call one Qt application into another Qt application?

    Quote Originally Posted by nayan_trivedi View Post
    There is no Qt API for embedding a Qt application into another Qt application. If you wish to use widgets from one Qt application in another, then you can use Qt’s QAxServer module to turn your application executable into an out-of-process ActiveX server that can run the control, see

    http://doc.qt.nokia.com/4.6/qaxserver.html

    The client application can then use Qt’s QAxContainer to embed the control. Note however that widgets can’t co-exist in 2 different applications. The QAxServer will create a new instance of the widget whenever it is queried, as widgets can’t be shared between applications.
    thank you

    i got the solution

    system("path of that application");

    will call one Qt application into another qt application

    but i have another doubt i need to send parameters to that application from my application how it is possible?

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Is it possible to call one Qt application into another Qt application?

    You probably want to read QProcess documentation.

  6. #6
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: How to call One Qt application into another Qt application.

    Using Symbian C++ with Qt seems the only way to achieve IPC. I am not sure if it can be done using only Qt.

Similar Threads

  1. to call One Application from another
    By dilipsinh in forum Symbian
    Replies: 14
    Last Post: 2011-03-05, 11:02
  2. Replies: 3
    Last Post: 2007-06-14, 13:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×