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

A very large amount for warnings mentioning "pdfium" for iOS builds with a minimal Qt Quick app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0
    • Build System
    • None
    • iOS/tvOS/watchOS

    Description

      The build console gets filled and a large (around 700) amount of warnings like 

      warning: (arm64) /Users/qt/work/qt/qtwebengine/build/target/src/pdf/Debug/arm64/obj/third_party/pdfium/fpdfsdk/fpdfsdk/fpdf_ext.o unable to open object file: No such file or directory
      warning: (arm64) /Users/qt/work/qt/qtwebengine/build/target/src/pdf/Debug/arm64/obj/third_party/pdfium/fpdfsdk/fpdfsdk/fpdf_flatten.o unable to open object file: No such file or directory

      for a very simple Qt Quick app. This occurs for the iOS device and Simulator target. It does not occur for the macOS target, nor for an Android target.

      It is important to note that the path mentioned in the logs "/Users/qt/work/qt/qtwebengine/build..." does not exist on my macbook.

      The SDKs in use (sorry for the broken lines):

      ➜  ~ xcodebuild -showsdks
      DriverKit SDKs:DriverKit 22.4                -sdk driverkit22.4iOS SDKs:iOS 16.4                      -sdk iphoneos16.4iOS Additional SDKs:Asset Runtime SDK for macOS hosts targeting iOS 16.4-sdk assetruntime.host.macosx.target.iphoneos16.4iOS Simulator SDKs:Simulator - iOS 16.4          -sdk iphonesimulator16.4macOS SDKs:macOS 13.3                    -sdk macosx13.3macOS 13.3                    -sdk macosx13.3

       a copy of the full build log is attached. The app is the "Qt Quick Application" generated via the New Project wizard in QtC 10.0. It does not use Qt PDF at all. 

      main.qml:

      import QtQuick
      import QtQuick.WindowWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      }
      

      main.cpp:

      #include <QGuiApplication>
      #include <QQmlApplicationEngine>
      int main(int argc, char *argv[])
      {
          QGuiApplication app(argc, argv);    QQmlApplicationEngine engine;
          const QUrl url(u"qrc:/untitled41/Main.qml"_qs);
          QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed,
              &app, []() { QCoreApplication::exit(-1); },
              Qt::QueuedConnection);
          engine.load(url);    return app.exec();
      }
      

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            vminenko Vladimir Minenko
            Vladimir Minenko Vladimir Minenko
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes