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

Android: Some Qt modules get broken install rules on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.3.0 RC1
    • 5.3.0 Beta1
    • QPA
    • None
    • Android
    • a162a3cbbc3c27b42c86f870aba051a408f04ed4

      This is reproducible e.g. when cross-compiling the Qt Purchasing API for Android on Windows, but it has also been reported for other external modules.

      The Makefile gets the following in its "install_target":

      install_target: first FORCE
      [...]
              -$(INSTALL_PROGRAM) "..\..\lib\$(TARGET)" "D:$(INSTALL_ROOT)\releasetesting\5.3.0beta\5.3\android_armv7\lib\$(TARGET)"
              -$(SYMLINK) "$(TARGET)" "D:$(INSTALL_ROOT)\releasetesting\5.3.0beta\5.3\android_armv7\lib\$(TARGET0)"
              -$(SYMLINK) "$(TARGET)" "D:$(INSTALL_ROOT)\releasetesting\5.3.0beta\5.3\android_armv7\lib\$(TARGET1)"
              -$(SYMLINK) "$(TARGET)" "D:$(INSTALL_ROOT)\releasetesting\5.3.0beta\5.3\android_armv7\lib\$(TARGET2)"
      

      The $(TARGET), which is libQt5FooBar.so.5.3.0, is correctly installed from "../../lib", but the subsequent rules for the symlinks try to get $(TARGET) from the current directory, and fail. On Android, the libQt5FooBar.so is the only one that matters, so applications using the module will fail on startup since this library is not found.

        For Gerrit Dashboard: QTBUG-38347
        # Subject Branch Project Status CR V

            esabraha Eskil Abrahamsen Blomfeldt
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes