Important: Please read the Qt Code of Conduct - error: cannot find symbol

  • 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\ 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 ?
    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.

  • Are you solved this problem?

Log in to reply