Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. webserver
    Log in to post

    • SOLVED is it possible to host nodejs app inside qt app ?
      General and Desktop • qt5 webview webengine qt5 webserver node.js • • Qjay  

      3
      0
      Votes
      3
      Posts
      1210
      Views

      hey , sorry for not being clear but what i meant by hosted was like node app is not hosted anywhere . So i added node code to my qt project and in main.cpp i create a Qprocess of node and then just provide localhost url to webengineview. this solves my purpose. So in short what i did was : copied node app code to my qt project. created a process of node running the node app via Qprocess. provided localhost url:port to webengineview and it shows the app.
    • UNSOLVED using Jsoncpp library in Qt on Raspberry pi 3
      Mobile and Embedded • qt creator raspberry pi webserver ldlibrarypath libjsoncpp • • Saman19  

      2
      0
      Votes
      2
      Posts
      1495
      Views

      @Saman19 said in using Jsoncpp library in Qt on Raspberry pi 3: /media/saman/62ca0b6d-6291-4c40-b1fd-11bc291e4a38/usr/lib/libjsoncpp.so Please show the output of the commands file /media/saman/62ca0b6d-6291-4c40-b1fd-11bc291e4a38/usr/lib/libjsoncpp.so ldd /media/saman/62ca0b6d-6291-4c40-b1fd-11bc291e4a38/usr/lib/libjsoncpp.so Any reason you don't use Qt's built-in JSON support?
    • UNSOLVED Passing values between apps and webserver
      QML and Qt Quick • cloud webserver • • Phils  

      2
      0
      Votes
      2
      Posts
      1132
      Views

      Hi Phils, You are mixing up some things here. Your app is split in two parts: server part (not written in qt, might be provided by a third party or written by you in a server language such as PHP) client app (qt) Thus, you won't necessarily need to upload your app to the cloud. However, you might need a webserver if you intend to host your app on your own. There are different ways to implement a web service and choosing the correct one depends on your needs. If you only want to store some simple key - value pairs on a server, a mobile backend as a service, such as the WebStorage offered by V-Play could be a solution for you. If you need very complex tasks, you might want to implement an API on your own. You might want to have a look at this tutorial. No matter what kind of API your application will use, you will most likely talk to it using JSON or XML using XMLHttpRequest.. You can find a small code snippet that shows you how to read and parse JSON from a server using XMLHttpRequest here. You can use this snippet to play around with the fake-APIs provided here. A very complete example where an API is used is the Qt World Summit 2017 app. Instead of the asset-url used here, also a http:// url could be used. Let me know what you would like to do and I can try to give you more guidance. Best, Lorenz
    • UNSOLVED Best approach for web applications
      General and Desktop • javascript websocket remote webserver html5 • • Mark81  

      15
      1
      Votes
      15
      Posts
      7820
      Views

      @kshegunov ok now I understand! Thanks!
    • UNSOLVED Launch nodejs from Qt5 application
      General and Desktop • qprocess webserver node.js • • Mark81  

      5
      0
      Votes
      5
      Posts
      2746
      Views

      Do you have any logging going on that would allow you to check whether your nodejs server does something ?
    • UNSOLVED Forum isn't working properly without https/ssl
      Qt.io webservices • http https forum webserver qt.io • • onek24  

      1
      0
      Votes
      1
      Posts
      4460
      Views

      No one has replied

    • Rest Web Service - Keep-alive Connection
      Mobile and Embedded • qtcreator qt5.4 qt application webserver qt developer • • Buleron  

      1
      0
      Votes
      1
      Posts
      1753
      Views

      No one has replied

    • Qt webserver with POST support
      General and Desktop • webserver post • • xtingray  

      8
      0
      Votes
      8
      Posts
      3101
      Views

      I had no idea about the qt-pods. Thank you for the handy information. It's incredible how I am learning things every time I check this forum XD