Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Error in Setup QtCloudMessaging



  • Hello,
    I would like receive Push Notifications on my app. With Qt Firebase I have got it, but my application can not show the notification, when my app was in Background. Strangely enough it should have worked. If you have an idea, a feedback would be very nice, but that is not my actual request.

    Anyway, I tried qtcloudmessaging afterwards. Unfortunately I have a few problems during Setup.

    I have followed the instructions so far, but my program cannot find a specific path, so the "#include... " is declared as an error. See the copiler report and the picture at the back.

    2_1537353027301_Screenshot (26).png 1_1537353027301_Screenshot (25).png 0_1537353027299_Screenshot (24).png

    If you want to help me, I think it would be easiest if you look at the Manual -> qtcloudmessaging

    I was unsure about the point 5, but I think I found where it is to install QtCloudMessaging. You can see it in the next picture. I hope that was right.
    But the compiler is still nagging :/

    0_1537353066014_Screenshot (19).png


  • Lifetime Qt Champion

    @Robin-Hood I don't think your app can receive any messages when it is in background as the OS holds it. You will need a background service for that.



  • @jsulm said in Error in Setup QtCloudMessaging:

    I don't think your app can receive any messages when it is in background as the OS holds it. You will need a background service for that

    So messages are already being sent to my phone (which will receive in the tast bar at the top), even if my app is in the background or even closed. My problem is that I can not display them in my app itself. All other messages are displayed.

    If you have any comments or ideas (which would be nice) then it would be easy if you continue writing here


Log in to reply