Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 6.4 mobile questions
Forum Updated to NodeBB v4.3 + New Features

Qt 6.4 mobile questions

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
14 Posts 3 Posters 1.1k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello, I'm thinking of developing my new mobile application with Qt 6.4. But I have some questions.

    1-) There is no purchasing library in Qt 6.4. How can I write a subscription code for Android in Java and call it from Qt? is there an example for this?

    2 -) With Qt 5.15 we were able to show notifications or admob ads using QtFirebase. Qt 6 does not have this support yet. Have any alternativies?

    Thank you for helping me with my questions.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi,

      1) The module is available in Qt 6. There's the getting started QML example.
      2) I don't know about that one.

      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
      0
      • SGaistS SGaist

        Hi,

        1) The module is available in Qt 6. There's the getting started QML example.
        2) I don't know about that one.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @SGaist

        @SGaist said in Qt 6.4 mobile questions:

        Hi,

        1. The module is available in Qt 6. There's the getting started QML example.
        2. I don't know about that one.

        I couldn't use the Purchasing library with Qt 6.4. I tried to use Store and Product by importing the application package with QML according to the instructions.

        alt text

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Sorry, I was wrong. Qt Purchasing will not be available in Qt 6. As per QTBUG-78182, it should be replaced with platform specific examples.

          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
          0
          • SGaistS SGaist

            Sorry, I was wrong. Qt Purchasing will not be available in Qt 6. As per QTBUG-78182, it should be replaced with platform specific examples.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @SGaist said in Qt 6.4 mobile questions:

            Sorry, I was wrong. Qt Purchasing will not be available in Qt 6. As per QTBUG-78182, it should be replaced with platform specific examples.

            so no more qt purchasing? Do we need to write native custom codes instead?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              There's supposed to be examples provided for that but I don't any further, sorry.

              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
              0
              • SGaistS SGaist

                There's supposed to be examples provided for that but I don't any further, sorry.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                @SGaist What if I write the subscription and purchase code in Java and then use it in C++? Is there an example or how-to article for this?

                JoeCFDJ 1 Reply Last reply
                0
                • ? A Former User

                  @SGaist What if I write the subscription and purchase code in Java and then use it in C++? Is there an example or how-to article for this?

                  JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #8

                  @NullByte what is the difference of the subscription and purchase code in Java and C++?

                  ? 1 Reply Last reply
                  0
                  • JoeCFDJ JoeCFD

                    @NullByte what is the difference of the subscription and purchase code in Java and C++?

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    @JoeCFD It's same. Only I don't have idea how to do in Java.
                    I'm looking for a sample code that does just that

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      Is there anyone on this forum who can show an example for this?

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #11

                        https://github.com/moritzstoetter/qt6purchasing

                        Guys check this

                        1 Reply Last reply
                        0
                        • JoeCFDJ Offline
                          JoeCFDJ Offline
                          JoeCFD
                          wrote on last edited by JoeCFD
                          #12

                          @NullByte said in Qt 6.4 mobile questions:

                          QtFirebase

                          can not you rebuild QtFirebase with Qt6 since you can get the source code?
                          https://www.kdab.com/qt-android-episode-5/

                          ? 1 Reply Last reply
                          0
                          • JoeCFDJ JoeCFD

                            @NullByte said in Qt 6.4 mobile questions:

                            QtFirebase

                            can not you rebuild QtFirebase with Qt6 since you can get the source code?
                            https://www.kdab.com/qt-android-episode-5/

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #13

                            @JoeCFD Hey Joe check

                            https://github.com/Larpon/QtFirebase/issues/168

                            JoeCFDJ 1 Reply Last reply
                            0
                            • ? A Former User

                              @JoeCFD Hey Joe check

                              https://github.com/Larpon/QtFirebase/issues/168

                              JoeCFDJ Offline
                              JoeCFDJ Offline
                              JoeCFD
                              wrote on last edited by JoeCFD
                              #14

                              @NullByte Qt can access Java code. But the logic could be messy for your purchase app. It might be easier to build QtFirebase with Qt6 than to write an interface to handle Java calls.
                              You may need half day or a day to build QtFirebase with Qt6. But you may need days or weeks to finish your interface.

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved