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. Cannot compile QML application for Android on 5.14.*
Forum Updated to NodeBB v4.3 + New Features

Cannot compile QML application for Android on 5.14.*

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 565 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.
  • S Offline
    S Offline
    St.Stanislav
    wrote on last edited by
    #1

    Hello all!

    I'm trying to build my QML application for android on Windows 10, but on 5.14.* (looks like this is important) I receive the following error message:

    error: no such file or directory: '@armeabi-v7a\object_script.build\release\lib<appName>_armeabi-v7a.so.Armeabi-v7a'
    clang++: error: no such file or directory: '@armeabi-v7a\object_script.build\release\lib<appName>_armeabi-v7a.so.Armeabi-v7a'
    make: *** [Makefile:572: build\release\lib<appName>_armeabi-v7a.so] Error 1
    

    Build is successful if I use 5.15.1 e.g., but I'm interested in building with 5.14.1. I use JDK 1.8.0_261, SDK 2.1 and NDK 21.1.6352462.

    qmake gives me the following message (don't know, if this is connected with my issue):

    C:/Qt/5.14.1/android/mkspecs/features/android/android_deployment_settings.prf(73): contains(): Encountered invalid regular expression '.*\qmake_qmake_immediate.qrc$'.'
    

    I have found some topics about this issue, but haven't found any working solution for me. So my question is: what can I do with this thing? Thank you in advance for an any help!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      St.Stanislav
      wrote on last edited by St.Stanislav
      #2

      I have tested it on Linux ant I have the same issue there:

      File not found: Error setting permissions on <pathToAppName>/android-build/libs/armeabi-v7a/lib<appName>_armeabi-v7a.so:-1: error: Operation not permitted
      
      jsulmJ 1 Reply Last reply
      0
      • S St.Stanislav

        I have tested it on Linux ant I have the same issue there:

        File not found: Error setting permissions on <pathToAppName>/android-build/libs/armeabi-v7a/lib<appName>_armeabi-v7a.so:-1: error: Operation not permitted
        
        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @St-Stanislav said in Cannot compile QML application for Android on 5.14.*:

        <pathToAppName>

        What is this path exactly? Do you have write access there?

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

        S 1 Reply Last reply
        0
        • jsulmJ jsulm

          @St-Stanislav said in Cannot compile QML application for Android on 5.14.*:

          <pathToAppName>

          What is this path exactly? Do you have write access there?

          S Offline
          S Offline
          St.Stanislav
          wrote on last edited by
          #4

          @jsulm

          Yes, I have checked it firstly, project is located in /home directory, lib file that is generated received the following permissions: -rwxrwxr-x . Now I have reinstalled sdk, ndk and so on. It's the following message, when I try to build release:

          :-1: error: [Makefile:745: build/release/libVision2GoApp_armeabi-v7a.so] Error 127
          

          But this file is existed and has permissions mentioned above. It is strange, but debug mode is being built okay.

          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