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. How to build jar files from source?
Qt 6.11 is out! See what's new in the release blog

How to build jar files from source?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 561 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.
  • mmjvoxM Offline
    mmjvoxM Offline
    mmjvox
    wrote on last edited by
    #1

    im trying to build JAR files for android placed in (only java files without cpp files):

    src/qtbase/src/android/jar/
    

    when i'm going to build jar.pro file that exists in current directory (sdk and jdk are defined in path and qtcreator's settings and they are working) i face this error:

    Src/qtbase/src/android/jar/src/org/qtproject/qt5/android/QtActivityDelegate.java:881: error: cannot find symbol
            if (Build.VERSION.SDK_INT < 24 || !m_activity.isInMultiWindowMode())
                                                         ^
      symbol:   method isInMultiWindowMode()
      location: variable m_activity of type Activity
    Note: Src/qtbase/src/android/jar/src/org/qtproject/qt5/android/QtMessageDialogHelper.java uses or overrides a deprecated API.
    

    What is the correct method to build only jar 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