Results 1 to 7 of 7

Thread: OPERA MINI HANDLER UI like browser, http, socket server implementation

  1. #1
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    Hello, iam new in Qt, i want to write an opera mini handler ui like browser for PC , i am almost done, but now i want to implement http server and soccket sever, i don't know which class to use! i have seen the QNetworkAccessManager, but i don't know if it is the write class to use, since through it i can only set the proxy server, and a http server nor a socket server, please help.


    Added after 10 minutes:


    also what is FRONT QUERY, and how to implement it please!
    Last edited by wambagilles; 20th February 2011 at 14:16.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    but now i want to implement http server and soccket sever,
    I'd say QTcpServer makes sense...
    You might want to read about other classes here:
    http://doc.qt.nokia.com/latest/qtnetwork.html
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    thanks very much for your reply, it seems to be the right class to use, i will look at it and report here! thanks!

  4. #4
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    hello, sorry for being late, iam through with the browser, but still got the same problem, don't know how to implement a qtcpserver with a qwebview, to fetch content through a htpp and socket server as opera mini handler ui does, please help, a piece of code will be also very helpfull, thanks!

  5. #5
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    don't know how to implement a qtcpserver with a qwebview, to fetch content through a htpp and socket server as opera mini handler ui does, please help,
    With all due respect - I am not sure what you expect as an answer to the above statement.
    You clearly say you don't know how to implement what you need, so what help can we offer you?
    If you had a specific implementation problem that you could articulate, ok, but do you expect us to teach you what you don't know?

    Have a look at the QTcpServer documentation, there should be few examples which are well explained, that should get you started on the right track.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    In the Qt-Software forum there is my tool called network debugger that implements a socket server. You can have a look at its sourcecode.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OPERA MINI HANDLER UI like browser, http, socket server implementation

    thanks for your answer, i'll look at it again, then i will show you what i will have!

Similar Threads

  1. Replies: 2
    Last Post: 5th February 2011, 17:44
  2. Replies: 7
    Last Post: 19th August 2010, 12:49
  3. Qt Http implementation
    By ada10 in forum Newbie
    Replies: 6
    Last Post: 11th August 2010, 23:36
  4. open HTTP links in pop up browser
    By mnemonic_fx in forum Qt Programming
    Replies: 1
    Last Post: 26th September 2007, 06:11
  5. Greenphone mini USB socket problem
    By izico in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 25th September 2007, 11:59

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.