Web App and C++ library



  • Hello everybody,
    I'm completly new with webdev and I have a question about integrating a c++ library to a webApp.
    I want to create something that can be open without having anything installed (just a browser). So, if I understood well, basically a webapp? (with Qt, I assume I would use QtWebKit, that's it?)
    Is it possible to integrate to this webapp an external library (here it would be PCL) and make it work on a computer that have nothing installed but a browser?

    Sorry for the (maybe) trivial question, but this is something completly new for me and I have some difficulties understanding how everything works. /:

    Thanks in advance!


  • Moderators

    @kirbX said:

    Sorry for the (maybe) trivial question, but this is something completly new for me and I have some difficulties understanding how everything works. /:

    I don't think that this question is so trivial ... at least i didn't get it. :)

    What are you trying to achieve exactly?
    And why/how is Qt needed?

    You wrote that a installed webbrowser is the whole requirement for your "webapp". But i don't see where Qt is needed here.
    Also a webapp runs standalone in the browser and mostly connects to a webserver.



  • @kirbX
    I think that's a litte misunderstanding: QtWebKit is not ment to extend HTML&co to create webapps that run in a browser - instead QtWebKit is a browser engine that can be integrated in your Qt app.
    So if I understand correctly what you want to achieve, Qt / QtWebKit will not help you.
    If there's JUST a browser on your machine you can use JUST web technologies like HTML&JS. On the server side you can use what you want (or what you are able to use) as long as the it generates an output based on web technologies that are understood by the installed browser.
    (If I got you wrong please clarify what you exactly want to achieve, as raven-worx already asked...)



  • @micland Actually no, QtWebKit can extend HTML&co by means of custom objects, injected into the page (look for "QtWebKit bridge"), and also custom widgets via Qt plugins (QWebPluginFactory).



  • @Konstantin-Tokarev said:

    @micland Actually no, QtWebKit can extend HTML&co by means of custom objects, injected into the page (look for "QtWebKit bridge"), and also custom widgets via Qt plugins (QWebPluginFactory).

    Ok, that's right - but AFAIR it requires a QtWebKit based browser engine, "just an installed browser" is not sufficient....


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.