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. INSTALLS ignores /res folder
QtWS25 Last Chance

INSTALLS ignores /res folder

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qtbug-79762android deploylinux
6 Posts 2 Posters 767 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.
  • W Offline
    W Offline
    Wiru
    wrote on last edited by koahnig
    #1

    Regarding my previous post, I found out that I can use INSTALLS to replace ANDROID_PACKAGE_SOURCE_DIR. But for some reason it ignores /res folder.

    My project has 2 android related folders. /android and /android_extra.
    At first it was all one folder that was included in the build with ANDROID_PACKAGE_SOURCE_DIR, but that's not the best solution, since some files, depending on the build, shouldn't be included.
    So I put the optional files inside android_extra.

    If I use the ANDROID_PACKAGE_SOURCE_DIR for the mandatory /android folder and INSTALLS for the optional /andorid_extra it doesn't include the /android_extra/src files.

    If however I use INSTALLS instead of ANDROID_PACKAGE_SOURCE_DIR it doesn't include the android/res files, but the /android_extra/src will be included...

    I don't know what else to try, mainly I'm just looking at how the build system is making fun of me...
    Any solution to this, or how to force it to include files?

    EDIT: It seems as it can't copy files to /res in the build folder. If I put the INSTALLS path to /res2 it will make the folder and copy the files. So I assume it's the same case for /src when using ANDROID_PACKAGE_SOURCE_DIR.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wiru
      wrote on last edited by
      #2

      Seems like androiddeployqt is at fault here. The files are copied, but once the androiddeployqt is started, it cleares the folders...

      K 1 Reply Last reply
      0
      • W Wiru

        Seems like androiddeployqt is at fault here. The files are copied, but once the androiddeployqt is started, it cleares the folders...

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @Wiru

        You can check on https://bugreports.qt.io/ if it is a known bug.
        You can also a new file bug report when it is not already listed there. This user forum is never checked for possible reports of bugs.

        When you find or file a bug report, please file the link here to give aothers a chance to add and to monitor the issue.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wiru
          wrote on last edited by
          #4

          I opened a ticket. Can only hope it gets resolved soon, or for an existing workaround

          K 1 Reply Last reply
          1
          • W Wiru

            I opened a ticket. Can only hope it gets resolved soon, or for an existing workaround

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @Wiru

            OK, thanks for taking the time. Let's see what happens.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • W Offline
              W Offline
              Wiru
              wrote on last edited by
              #6

              For now I made a custom androiddeployqt that ignores cleanAndroidFiles(options); which deletes the files. Seems to work, only have to delete the build folder manually so it doesn't keep old build files.

              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