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. QtLoader.java:240: error: cannot find symbol
Qt 6.11 is out! See what's new in the release blog

QtLoader.java:240: error: cannot find symbol

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.3k 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.
  • metaDomM Offline
    metaDomM Offline
    metaDom
    wrote on last edited by
    #1

    Hey guys,

    compiling my project on PC1 works fine but PC2 and PC3 both result in the following error. Every PC uses Qt 5.7 with Android NDK r10e and NDK r24. Any idea is welcome!

    [javac] D:\qt\projects\test\build-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_7_0-Debug\android-build\src\org\qtproject\qt5\android\bindings\QtLoader.java:240: error: cannot find symbol
    [javac] QtApplication.setQtContextDelegate(m_delegateClass, qtLoader);
    [javac] ^
    [javac] symbol: method setQtContextDelegate(Class<CAP#1>,Object)
    [javac] location: class QtApplication
    [javac] where CAP#1 is a fresh type-variable:
    [javac] CAP#1 extends Object from capture of ?
    
    BUILD FAILED
    
    C:\Users\ses\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Users\ses\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
    
    
    1 Reply Last reply
    0
    • J Offline
      J Offline
      johonde
      wrote on last edited by
      #2

      Are you solved this problem?

      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