×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    35

    Cross platform Client-server application

    Hi All,
    I am in initial stage for investigating whether it’s possible to write a Cross platform Client-server application using Qt.

    Let's consider the case: I have a GUI which acts as a client and an engine (.exe) which acts as a server.

    So how do I design it in Qt so that I my application will work both on Symbian S60and MeeGo.

    If I use a QLocalServer in Qt and QLocalSocket will it map to Symbian Client server architecture and In MeeGo's D-bus architecture.

    I am totally confused. Please share any thought as well any resource link.

    thanks,
    Kalinga

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

    Re: Cross platform Client-server application

    Qt is a cross platform toolkit. Sure you can create client-server application, which will compile and run in both Maemo and Symbian (and MeeGo, when it's out).

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    35

    Re: Cross platform Client-server application

    Hi divanov,
    Thanks for your quick reply.
    Still there are Classes which is not yet ported across platforms e.g QtDBus for S60
    So if i use QtDBus in my application then that wont be platform independent.

    Also if you point out what classes i must look at for implementing a client-server application that would be a great help.

    thanks,
    Kalinga

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

    Re: Cross platform Client-server application

    Quote Originally Posted by kalinga_ray View Post
    Hi divanov,
    Thanks for your quick reply.
    Still there are Classes which is not yet ported across platforms e.g QtDBus for S60
    So if i use QtDBus in my application then that wont be platform independent.

    Also if you point out what classes i must look at for implementing a client-server application that would be a great help.

    thanks,
    Kalinga
    Yes, QtDBus module is a bit specific, but use QtNetwork module.

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    35

    Re: Cross platform Client-server application

    Thanks a lot divanov,
    So the point is even though i dont use any Web-based server over internet
    still i have to use "QtNetwork" module.And specifically I can go for QTcpServer and QTcpSocket to achieve a client-sever application in Qt.
    Please correct me if i would be wrong.

    thanks,
    kalinga

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

    Re: Cross platform Client-server application

    Network doesn't imply internet and not the same as Web.
    If you check documentation, it tells you to which module class belongs. It's under the caption in square brackets:
    http://doc.trolltech.com/4.6/qtcpserver.html

Similar Threads

  1. j2se server j2me client bluetooth connection problem
    By bepolat in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2010-07-14, 11:05
  2. Replies: 0
    Last Post: 2009-11-27, 06:32
  3. Replies: 0
    Last Post: 2009-11-22, 19:03
  4. Mobile learning server / environment published
    By mikaset in forum News and Announcements
    Replies: 0
    Last Post: 2008-03-25, 20:50
  5. Replies: 0
    Last Post: 2005-03-31, 14:32

Posting Permissions

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