×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    138

    How to use service framework in Qt Simulator?

    Hello,

    I have compiled following service example plugin:

    http://doc.qt.nokia.com/qtmobility-1...gerplugin.html

    Output is serviceframework_filemanagerplugin.dll. How one can use the service from a test application? Do I have to link it to my test application?

    Regards,
    FoL

  2. #2
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    138

    Re: How to use service framework in Qt Simulator?

    Is it so that I must register service by using servicefw tool? I didn't find much information about this tool.

    Code:
    All services must be registered. The 'servicefw' tool registers xml files. It must be run before a service can be used. For example:
    http://doc.qt.nokia.com/qtmobility/s...rameworks.html

    When I try to launch the tool it complains

    QtServiceFramework1.dll not found. Okey, I copy that and following files to same folder where the binary is.

    mingwm10.dll
    libgcc_s_dw2-1.dll
    QtServiceFramework1.dll
    QtCore4.dll

    Now, I get following error:

    "The procedure entry point ... could not be located in the dynamic link library QtCore4.dll."

    It seems that I have copied from dll files?

  3. #3
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to use service framework in Qt Simulator?

    It's simpler to build it as a LIB rather than a DLL and link it directly into your code.

  4. #4
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    138

    Re: How to use service framework in Qt Simulator?

    Actually we must implement service that can be run in a separate process. I must use service framework. There is no other option. Just tell me how to get it work on the top of Qt Simulator

    Quote Originally Posted by danhicksbyron View Post
    It's simpler to build it as a LIB rather than a DLL and link it directly into your code.

  5. #5
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to use service framework in Qt Simulator?

    Sorry, but I don't have the week it would take to figure it out, and the two weeks to explain it.

Similar Threads

  1. how to change the default contacts resist in the QT simulator?
    By wenz in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-10-01, 00:42
  2. How to use yahoo web service api in our application
    By Gowri in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2010-07-18, 18:22
  3. MMF framework - how to use buffers
    By supta@neomagic.com in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-12-27, 10:02

Posting Permissions

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