Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator on MacOS: do not building release for Android. Why?

Qt Creator on MacOS: do not building release for Android. Why?

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 742 Views
  • 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by bogong
    #1

    Hello all!

    After update of Qt Creator got this issue: do not build release for Android x86 (ignored release and build debug even if chosen release ) and do not open directory with (it's working only if chosen debug). It's happening only if I am choosing "release" on debug everything OK.

    In "release" it's ignoring settings of Qt Creator.

    1_1557920492929_Screenshot 2019-05-15 at 14.37.23.png

    0_1557920646688_Screenshot 2019-05-15 at 14.37.14.png

    How to fix it?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bogong
      wrote on last edited by bogong
      #2

      At time of building I have this message:

      BUILD SUCCESSFUL in 10s
      29 actionable tasks: 29 executed
      Android package built successfully in 12.929 ms.
        -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/debug/android-build-debug.apk
      

      It's building "release" but not switching off the building of "debug" in *.apk
      Why it's might be?

      There are everywhere switched off "debug".

      0_1557928088682_Screenshot 2019-05-15 at 16.47.35.png

      When I am trying to "Run" application, but not only "Build" it's building released *.apk and I have this message:

      Success
      Android package built successfully in 2.364 ms.
        -- It can now be run from the selected device/emulator.
        -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk
      
      J.HilkJ 1 Reply Last reply
      0
      • B bogong

        At time of building I have this message:

        BUILD SUCCESSFUL in 10s
        29 actionable tasks: 29 executed
        Android package built successfully in 12.929 ms.
          -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/debug/android-build-debug.apk
        

        It's building "release" but not switching off the building of "debug" in *.apk
        Why it's might be?

        There are everywhere switched off "debug".

        0_1557928088682_Screenshot 2019-05-15 at 16.47.35.png

        When I am trying to "Run" application, but not only "Build" it's building released *.apk and I have this message:

        Success
        Android package built successfully in 2.364 ms.
          -- It can now be run from the selected device/emulator.
          -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk
        
        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @bogong
        You have to actually sign your app or no "release" build will happen
        0_1557929636292_33d3b2b1-6ae6-45d9-b4a2-e025cd5fa6a1-image.png


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bogong
          wrote on last edited by bogong
          #4

          It's signed. Last log example showing it ...

          apk/release/android-build-release-signed.apk
          
          J.HilkJ 1 Reply Last reply
          0
          • B bogong

            It's signed. Last log example showing it ...

            apk/release/android-build-release-signed.apk
            
            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @bogong
            mmh
            so build&run works, but build only results in a "debug" app file?

            Can you delete the shadow build folder and double check?


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            B 1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              @bogong
              mmh
              so build&run works, but build only results in a "debug" app file?

              Can you delete the shadow build folder and double check?

              B Offline
              B Offline
              bogong
              wrote on last edited by bogong
              #6

              @J.Hilk Yes. It's building only "debug" if I am only building. When I am using "Run" instead of build - it's building "release". Already been deleting and cleaning ...

              1 Reply Last reply
              0
              • B Offline
                B Offline
                bogong
                wrote on last edited by bogong
                #7

                Just cleared all cache of Qt Creator (~/Library/ and other directories), reconfigure project from scratch and deleted everything related to to the building. Deleted *.pro.user file and set it up again. Started working. I don't know what was it ...

                J.HilkJ 1 Reply Last reply
                2
                • B bogong

                  Just cleared all cache of Qt Creator (~/Library/ and other directories), reconfigure project from scratch and deleted everything related to to the building. Deleted *.pro.user file and set it up again. Started working. I don't know what was it ...

                  J.HilkJ Offline
                  J.HilkJ Offline
                  J.Hilk
                  Moderators
                  wrote on last edited by
                  #8

                  @bogong

                  0_1557931521154_7e549163-67fa-45a6-9798-922af214bfe9-image.png

                  ;-)
                  Happens to all of us.


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  B 1 Reply Last reply
                  2
                  • J.HilkJ J.Hilk

                    @bogong

                    0_1557931521154_7e549163-67fa-45a6-9798-922af214bfe9-image.png

                    ;-)
                    Happens to all of us.

                    B Offline
                    B Offline
                    bogong
                    wrote on last edited by
                    #9

                    @J.Hilk This f-wording ghost sometimes switching me into WTF-mode ... :-)

                    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