Results 1 to 10 of 10

Thread: Write a QT application that runs on Web ?

  1. #1
    Join Date
    May 2009
    Location
    Austria
    Posts
    21
    Qt products
    Qt4
    Platforms
    Windows

    Default Write a QT application that runs on Web ?

    hello everybody,

    i have a question about Qt and QWeb.
    I want to know, if its possible to write a Qt application that runs on the web ?
    Is ist possible to do this with qt and if i can do that, what i have to do ?

    kind regards,
    reinki

  2. #2
    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: Write a QT application that runs on Web ?

    Please explain what you mean by "that runs on the web".
    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.


  3. #3
    Join Date
    May 2009
    Location
    Austria
    Posts
    21
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Write a QT application that runs on Web ?

    i want to write a qt-application that runs on the web.
    i want to program the things in c++ with qt and then i want to see it in my browser.

    is this possible with qt/qml ?

    the problem is, that i have no knowledge in html or in javascript, only in c++ and now i have to do a web application and i want to know if its possible with qt/qml/c++

    i hope you understand my problem...

  4. #4
    Join Date
    Apr 2010
    Location
    Russian Federation, Kaluga
    Posts
    20
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Write a QT application that runs on Web ?

    maybe you're looking for qt web kit
    http://doc.qt.nokia.com/latest/qtwebkit.html#details

  5. #5
    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: Write a QT application that runs on Web ?

    Quote Originally Posted by reinki0013 View Post
    is this possible with qt
    Yes.
    /qml ?
    No.

    the problem is, that i have no knowledge in html or in javascript, only in c++ and now i have to do a web application and i want to know if its possible with qt/qml/c++
    The problem is that HTML and JavaScript are the only things web browsers do have knowledge of, so your application would (eventually) have to generate html anyway.
    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.


  6. #6
    Join Date
    Jun 2011
    Posts
    69
    Thanks
    13
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Write a QT application that runs on Web ?

    No, in Qt you can't do this.
    Don't let QWeb's title fool you, but i see young QtWui project.
    of course QtWui needs contribute and it's not ready, but it's take benefits to use qt libraries.
    Another project also is availabe too, Wt.
    Wt is qt mimic, and it's not uses qt libraries because of license and other technical issue.
    but as i work with wt let me give you advice, wt itself maybe can't enough for web development because it's just gui toolkit and ......
    also there is CppCMS project.
    But if you serious about webdevelopment go and take Django mega webframework, django is writed implemented in python.
    keep in mind without basic knowledge about html/css/js the webdevelopment life gonna worst for you.
    Last edited by Alir3z4; 12th November 2011 at 02:41. Reason: updated contents
    ...یه مرد هیچوقت زمین نمیخوره

  7. #7
    Join Date
    Mar 2016
    Posts
    5
    Qt products
    Platforms
    Symbian S60

    Default Re: Write a QT application that runs on Web ?

    hi,

    i dont understand completely what are you trying but as much i understand i would recommend you to use framework (laravel) of php programming language, you can create every kind of projects or tasks.

    Good Luck

  8. #8
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Write a QT application that runs on Web ?

    Quote Originally Posted by Alir3z4 View Post
    No, in Qt you can't do this.
    Why do you say this? Any executable program can output HTML, Javascript, and CSS... HTTP is, after all, a text based protocol. Programs written in Qt (i.e. C++) can certainly generate HTML, Javascript, and CSS.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  9. #9
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Write a QT application that runs on Web ?

    1. The OP wanted a Qt application to appear on the web with "no knowledge in html or in javascript." This is hardly a promising foundation to build on.
    2. The thread is four years old and woken up by a pointless PHP response to a C++ question

  10. #10
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Write a QT application that runs on Web ?

    Quote Originally Posted by ChrisW67 View Post
    The thread is four years old and woken up by a pointless PHP response to a C++ question
    doh! I didn't realize the thread was so old, but i just didn't want the "you can't do that" to be hanging out there, even if the thread was old...
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Similar Threads

  1. problem with application after it runs on start up
    By budda in forum Qt Programming
    Replies: 5
    Last Post: 8th October 2011, 01:38
  2. QProcess::start() failed when application runs from sudo
    By alenyashka in forum Qt Programming
    Replies: 3
    Last Post: 22nd June 2010, 06:35
  3. Qt4 Gui application cannot write to file
    By flair-kun in forum Qt Programming
    Replies: 4
    Last Post: 19th December 2009, 09:21
  4. how to write a sample application using QT on windows mobile
    By pallavi Boyapat in forum Qt Programming
    Replies: 0
    Last Post: 4th November 2008, 06:10
  5. How to read/write PDF file from Qt Application?
    By rajesh in forum Qt Programming
    Replies: 5
    Last Post: 30th August 2007, 08:39

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.