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 5.2 Where is "Assets" Directory?
Qt 6.11 is out! See what's new in the release blog

Qt 5.2 Where is "Assets" Directory?

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 4 Posters 3.3k 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.
  • F Offline
    F Offline
    Fatih54102
    wrote on last edited by
    #1

    I have been using Qt 5.2 for 1 day. But I did not realise where the "Assets" directory/folder is.
    Is there something new that I do not know or Is its name changed?

    My purpose is using an embedded database file (in apk file) with Qt.
    I tried to do this with Qt's resource system but as you predict, it does not work.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fatih54102
      wrote on last edited by
      #2

      I used ANDROID_PACKAGE_SOURCE_DIR.
      But now it says "Driver Not Loaded" (in lasterror())

      I added QT += sql to .pro file

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nando76
        wrote on last edited by
        #3

        Hi,
        did you try adding

        @QTPLUGINS += sqlite@
        in .pro file?

        Greetings
        Nando

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jcmayorga
          wrote on last edited by
          #4

          Hi,

          can u explain please how use ANDROID_PACKAGE_SOURCE_DIR?

          i been search and i didn't found something yet...

          1 Reply Last reply
          0
          • GianlucaG Offline
            GianlucaG Offline
            Gianluca
            wrote on last edited by
            #5

            The ANDROID_PACKAGE_SOURCE_DIR is the directory containing all your custom files that needs to be copied into the Android project related to your app.
            You must follow the standards paths as described here:
            http://developer.android.com/tools/projects/index.html

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jcmayorga
              wrote on last edited by
              #6

              Tkns so much!!

              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