Hello List: Modify that last assertion.
Make sure that your src directory is UNDER your android directory in ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android Sometimes, Qt Creator can add it to the project tree, but you really want it appearing UNDER the android directory. If for some reason the src directory is not INSIDE the android directory, consider yourself out of luck. This had nothing to do with DISTFILES or OTHER_FILES, they both work fine. Cheers, md On 8/29/2015 8:31 PM, mark diener wrote: > Hello List: > > FYI > > Something to pay attention to for androidextras users. > > Seems like Qt Creator when it adds a java file puts the java file into > the pro file like: > > DISTFILES+=\ > > android/AndroidManifest.xml\ > > android/gradle/wrapper/gradle-wrapper.jar\ > > android/gradlew\ > > android/res/values/libs.xml\ > > android/build.gradle\ > > android/gradle/wrapper/gradle-wrapper.properties\ > > android/gradlew.bat \ > android/src/org/qtproject/example/MyJavaClass.java > > > But this is not a good thing. > > From the examples Qt Notifier, you want it to look like: > > OTHER_FILES+=android/src/org/qtproject/example/MyJavaClass.java > > > It makes a big difference between DISTFILES and OTHER_FILES. > > OTHER_FILES works. > > Have a great weekend ya'all > > md > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > -- No spell checkers were harmed during the creation of this message. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest