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. Upgraded to Qt 6 and Android Extras is gone
Forum Updated to NodeBB v4.3 + New Features

Upgraded to Qt 6 and Android Extras is gone

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
11 Posts 7 Posters 5.0k Views 4 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    One possibility you can try is to build the module by hand with your Qt 6 installation.

    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
    2
    • _ Offline
      _ Offline
      _2020_
      wrote on last edited by _2020_
      #3

      I am having the same problem. (Android project that worked in Qt 5.15.2 is now failing in Qt 6.0.0 due to missing androidextras).

      @SGaist, do you have any tips for how one would go about building the module by hand and then incorporating into an existing project in Qt 6.0.0?

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

        Clone the module and use the usual qmake/make/make install trifecta.

        Note that I have not tested that. It's just a suggestion.

        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
        2
        • H Offline
          H Offline
          Hitokage
          wrote on last edited by Hitokage
          #5

          Is there any recommendation or a way to run native code like when using QAndroidJniObject in QT 6? To be honest i am quite confused now. What is the official advice to do when porting apps to QT 6 using such modules? I'd expect some kind of replacement.
          By the way, do I understand correctly your suggestion, doing this? I have tried:

          git clone git://code.qt.io/qt/qtandroidextras.git
          /.../Qt/6.1.0/gcc_64/bin/qmake qtandroidextras
          make
          

          and got this:

          make[1]: Entering directory '/.../src'
          make[1]: Nothing to be done for 'first'.
          make[1]: Leaving directory '/.../src'
          
          KroMignonK 1 Reply Last reply
          0
          • H Hitokage

            Is there any recommendation or a way to run native code like when using QAndroidJniObject in QT 6? To be honest i am quite confused now. What is the official advice to do when porting apps to QT 6 using such modules? I'd expect some kind of replacement.
            By the way, do I understand correctly your suggestion, doing this? I have tried:

            git clone git://code.qt.io/qt/qtandroidextras.git
            /.../Qt/6.1.0/gcc_64/bin/qmake qtandroidextras
            make
            

            and got this:

            make[1]: Entering directory '/.../src'
            make[1]: Nothing to be done for 'first'.
            make[1]: Leaving directory '/.../src'
            
            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by KroMignon
            #6

            @Hitokage said in Upgraded to Qt 6 and Android Extras is gone:

            Is there any recommendation or a way to run native code like when using QAndroidJniObject in QT 6?

            According to Qt Wiki (https://wiki.qt.io/New_Features_in_Qt_6.0), Qt Android Extra will no more be available:

            Code from these Qt <platform> Extras modules will find new homes in more relevant modules over time, and any remaining APIs considered for inclusion in later 6.x releases:

            • Qt Android Extras
            • Qt Mac Extras
            • Qt X11 Extras
            • Qt Windows Extras

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            jsulmJ 1 Reply Last reply
            0
            • KroMignonK KroMignon

              @Hitokage said in Upgraded to Qt 6 and Android Extras is gone:

              Is there any recommendation or a way to run native code like when using QAndroidJniObject in QT 6?

              According to Qt Wiki (https://wiki.qt.io/New_Features_in_Qt_6.0), Qt Android Extra will no more be available:

              Code from these Qt <platform> Extras modules will find new homes in more relevant modules over time, and any remaining APIs considered for inclusion in later 6.x releases:

              • Qt Android Extras
              • Qt Mac Extras
              • Qt X11 Extras
              • Qt Windows Extras
              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @KroMignon said in Upgraded to Qt 6 and Android Extras is gone:

              Qt Android Extra will no more be available:

              It sounds rather like it will be part of a later Qt6 release.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              KroMignonK 1 Reply Last reply
              1
              • jsulmJ jsulm

                @KroMignon said in Upgraded to Qt 6 and Android Extras is gone:

                Qt Android Extra will no more be available:

                It sounds rather like it will be part of a later Qt6 release.

                KroMignonK Offline
                KroMignonK Offline
                KroMignon
                wrote on last edited by
                #8

                @jsulm said in Upgraded to Qt 6 and Android Extras is gone:

                It sounds rather like it will be part of a later Qt6 release.

                For me, I sounds like it will be merged/moved somewhere else, and maybe with API changes.
                Which means, for me, QtAndroidExtras will disappear.

                It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                KroMignonK 1 Reply Last reply
                1
                • KroMignonK KroMignon

                  @jsulm said in Upgraded to Qt 6 and Android Extras is gone:

                  It sounds rather like it will be part of a later Qt6 release.

                  For me, I sounds like it will be merged/moved somewhere else, and maybe with API changes.
                  Which means, for me, QtAndroidExtras will disappear.

                  KroMignonK Offline
                  KroMignonK Offline
                  KroMignon
                  wrote on last edited by
                  #9

                  @jsulm Qt 6.1 first Alpha is now available, and in the not yet complete changes overview (https://wiki.qt.io/New_Features_in_Qt_6.1), you can find this

                  QtCore
                  Added QJniObject and QJniEnvironment as public API (mainly used for Android).

                  So it seems that QtAndroidExtras will be merge into QtCore :)

                  It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                  1 Reply Last reply
                  1
                  • ekkescornerE Offline
                    ekkescornerE Offline
                    ekkescorner
                    Qt Champions 2016
                    wrote on last edited by
                    #10

                    you should also follow discussion here:
                    https://bugreports.qt.io/browse/QTBUG-89482
                    https://bugreports.qt.io/browse/QTBUG-84382 (together with some referenced bugreports there)

                    I'm waiting for Qt 6.2 to be able to transform my mobile apps for Qt 6

                    ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                    5.15 --> 6.9 https://t1p.de/ekkeChecklist
                    QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                    H 1 Reply Last reply
                    2
                    • ekkescornerE ekkescorner

                      you should also follow discussion here:
                      https://bugreports.qt.io/browse/QTBUG-89482
                      https://bugreports.qt.io/browse/QTBUG-84382 (together with some referenced bugreports there)

                      I'm waiting for Qt 6.2 to be able to transform my mobile apps for Qt 6

                      H Offline
                      H Offline
                      Hitokage
                      wrote on last edited by Hitokage
                      #11

                      Thank you @ekkescorner and @KroMignon
                      Seems like 6.2 will be the solution for many related problems.

                      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