Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved How can I use Firebase in C++/Qt?

    General and Desktop
    6
    8
    11714
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      Ibrahim last edited by

      Hi; I need Firebase. I want to use Firebase in C++ and I found this component on github: Qt Firebase. But document is not enough to use. How can I use Firebase in C++? Is there detail document to use? Thanks.

      M 1 Reply Last reply Reply Quote 1
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        The codebase itself looks pretty simple. If that's not enough, you should consider contacting the author.

        All in all, it essentially contacts Firebase using their REST API

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • mrjj
          mrjj Lifetime Qt Champion last edited by mrjj

          Hi
          Qt Firebase is outside of Qt and it seems no good docs exists.
          You best option is to read the source code
          and see what functions it offers.

          If you download the zip, it contains an example.
          The actionhandler.cpp does open DB and list returns.

          1 Reply Last reply Reply Quote -1
          • Charby
            Charby last edited by Charby

            Hi
            Despite not beeing focused solely upon Firebase this topic covers a project for designing a Qt API for using BaaS solution.
            At this stage, this project is only supporting Parse Server, but you can easily add support to Firebase (actually in its first version it was using Firebase and IBM Bluemill partly).
            Even if it is not covering fully your need as it is - it could be helpful to see how to use Firebase with REST
            Hope this helps.

            1 Reply Last reply Reply Quote 1
            • I
              Ibrahim last edited by

              @SGaist thanks, I want to use REST API but I don't know network in Qt and my english is not good :) I don't understand good QNetworkRequest etc. Do you know easy document for QNetworkRequest etc.?

              @mrjj thanks.

              @Charby thanks, I looked the enginio and server is not active and I know Amazon AWS, I will look it.

              1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion last edited by

                @Ibrahim said:

                QNetworkRequest

                yes all Qt classes have excellent docs
                http://doc.qt.io/qt-5/qnetworkrequest.html

                1 Reply Last reply Reply Quote 0
                • F
                  feldifux last edited by

                  Hi, there is a Firebase plugin available here, which you can also access from C++.

                  Founder of Felgo SDK - http://felgo.com/qt

                  Felgo simplifies

                  • Mobile App Dev with Qt esp. iOS & Android
                  • Game Development with Qt

                  What others say

                  Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

                  1 Reply Last reply Reply Quote -1
                  • M
                    Mohammad Kanan @Ibrahim last edited by Mohammad Kanan

                    @Ibrahim , For those who see this, there is already a very nice Github repository that uses Firebase C++ SDK with Qt, it seems cross platform portable, I tested on Android and easy go: Larpon QtFirebase

                    1 Reply Last reply Reply Quote 5
                    • First post
                      Last post