Results 1 to 5 of 5

Thread: Web based messaging application

  1. #1
    Join Date
    Aug 2013
    Location
    India
    Posts
    44
    Thanks
    3
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Web based messaging application

    Hello all, I had developed a messaging app in qt .where client and server both had written in c++ with qt.Now we want to make it web based .so please suggest me which language like php,Python,Ruby on rail ...etc will be best for making it web based.actually I don't want to do more change in my server side code .it will be in c++ with qt only ,I only want to do change in my client side code.

  2. #2
    Join Date
    Oct 2009
    Posts
    483
    Thanked 96 Times in 93 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Web based messaging application

    By moving to the Web you may have to change the protocol between your server and client to something that a typical browser supports, which probably means HTTP-based. The server would be affected by such a change. AFAIK client-side code is usually Javascript (because it is supported out of the box by every browser that matters). PHP, Ruby on Rails, etc, are for server-side scripting.

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Web based messaging application

    You would probably also deliver a static web page that then uses web socket to connect to a QWebSocketServer in your Qt code to do the actual chat communication.

    Cheers,
    _

  4. #4
    Join Date
    Aug 2013
    Location
    India
    Posts
    44
    Thanks
    3
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Web based messaging application

    can you suggest me how to use QWebSocketServer that we can deploy our app on web.

  5. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Web based messaging application

    The word QWebSocketServer in my previous comment and this one is actually a link to the documentation of that class, which contains further links, e.g. one to an example using it.

    Cheers,
    _

Similar Threads

  1. Qt Messaging Framework: Adding Accounts
    By NicholasSmith in forum Qt Programming
    Replies: 0
    Last Post: 8th August 2012, 12:49
  2. Qt Messaging
    By Lili Tagetes in forum Qt Programming
    Replies: 4
    Last Post: 30th September 2011, 16:50
  3. Replies: 0
    Last Post: 31st January 2011, 12:51
  4. Qt and Windows messaging
    By bnilsson in forum Qt Programming
    Replies: 1
    Last Post: 6th January 2010, 16:46
  5. Deploying Qt 4.4 based Mac application
    By Ian_001 in forum Installation and Deployment
    Replies: 0
    Last Post: 31st October 2008, 15:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.