Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
None
-
Mac OS X 10.9
-
-
aedfb7e9826146f954d7c029c55bbea7dc0d350b
Description
Hello sorry for my english.
I was trying to write a plugin for both android and ios and I encounter this problem. You can see here the source of the plugin which problematic.
https://github.com/firatagdas/qtpushnotification/blob/dev/src/jar/jar.pri
When I did not set DIRLIST_SEP manually, qmake building the code like below:
/Users/Etud/Qt/5.3/android_armv7/bin/qmake -spec android-g++ CONFIG+=debug -o Makefile.distributedjar /Developer/Native/qtpushnotification/src/jar/distributedjar.pro javac -source 6 -target 6 -Xlint:unchecked -bootclasspath /Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-10/android.jar -cp /Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/extras/android/support/v4/android-support-v4.jar/Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/extras/google/google_play_services/libproject/google-play-services_lib/libs/google-play-services.jar/Developer/Native/qtpushnotification/src/jar/src/Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-10/android.jar -d .classes /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtPushNotification.java /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtGcmBroadcastReceiver.java /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtGcmIntentService.java
When I set it manually, it is working and builds perfrectly.
/Users/Etud/Qt/5.3/android_armv7/bin/qmake -spec android-g++ CONFIG+=debug -o Makefile.distributedjar /Developer/Native/qtpushnotification/src/jar/distributedjar.pro javac -source 6 -target 6 -Xlint:unchecked -bootclasspath /Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-10/android.jar -cp /Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/extras/android/support/v4/android-support-v4.jar:/Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/extras/google/google_play_services/libproject/google-play-services_lib/libs/google-play-services.jar:/Developer/Native/qtpushnotification/src/jar/src:/Developer/SDK/adt-bundle-mac-x86_64-20131030/sdk/platforms/android-10/android.jar -d .classes /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtPushNotification.java /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtGcmBroadcastReceiver.java /Developer/Native/qtpushnotification/src/jar/src/org/qtproject/qt5/android/QtGcmIntentService.java
qmake using DIRLIST_SEP https://qt.gitorious.org/qt/qtbase/source/209a75f2d071e0977b6c0a8a2ce5d6eb0ff95b8c:mkspecs/features/java.prf in here. So this should be fixed, although it is a low priority.