Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41668

qmake does not set DIRLIST_SEP variable on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.3.2
    • Build tools: qmake
    • None
    • Mac OS X 10.9
    • macOS
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            firatagdas Firat Agdas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes