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

iOS debug: Cannot read plugins/platforms/libqios.prl: No such file or directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.9.7, 5.14.1, 5.15.0 Alpha
    • Fix Version/s: None
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      MacOS 10.13.6
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      I receive "Cannot read plugins/platforms/libqios.prl: No such file or directory" when doing a debug build on iOS using the following configuration:

      "$SOURCE_DIRECTORY/configure" -debug -force-debug-info -c++std c++14 -developer-build -opensource -confirm-license -xplatform macx-ios-clang -no-openssl -nomake examples -nomake tests -no-compile-examples -no-widgets -no-icu -no-feature-bearermanagement -securetransport -sdk iphoneos
      

      I added the following log warning to debug:

      diff --git a/mkspecs/features/uikit/qt.prf b/mkspecs/features/uikit/qt.prf
      index 4475c137dc..8871be3152 100644
      --- a/mkspecs/features/uikit/qt.prf
      +++ b/mkspecs/features/uikit/qt.prf
      @@ -5,6 +5,7 @@ qt_depends = $$resolve_depends(QT, "QT.")
       
           lib_name = qios
           lib_path_and_base = $$[QT_INSTALL_PLUGINS/get]/platforms/lib$${lib_name}$$qtPlatformTargetSuffix()
      +warning(****** lib_path_and_base: $$lib_path_and_base)
           LIBS += -l$${lib_name}$$qtPlatformTargetSuffix() $$fromfile($${lib_path_and_base}.prl, QMAKE_PRL_LIBS)
       
           !bitcode {
      

      And saw the following failures:

      cd location/doc/snippets/ && ( test -e Makefile || /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/snippets.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
      /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/snippets.pro
      cd places/ && ( test -e Makefile || /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/places/places.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
      /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/places/places.pro
      Project WARNING: ****** lib_path_and_base: /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios
      Cannot read /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios.prl: No such file or directory
      Project WARNING: ****** lib_path_and_base: /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios_debug
      ...
      cd cpp/ && ( test -e Makefile || /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/cpp/cpp.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
      /Users/suitable/Desktop/Builds/qt.iOS/qtbase/bin/qmake -o Makefile /Users/suitable/Desktop/Repositories/qt/qtlocation/src/location/doc/snippets/cpp/cpp.pro
      Project WARNING: ****** lib_path_and_base: /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios
      Cannot read /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios.prl: No such file or directory
      Project WARNING: ****** lib_path_and_base: /Users/suitable/Desktop/Builds/qt.iOS/qtbase/plugins/platforms/libqios_debug
      

      It appears that the Debug build configuration is not being applied for these projects, resulting in a search for libqios.prl (which does not exist) instead of libqios_debug.prl (which does).

      This ticket appears related to QTBUG-59046.

        Attachments

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

          Activity

            People

            • Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              erb Jason Erb (Suitable Technologies)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes