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

CMake: Failed to find required Qt component "ProtobufQuick".

    XMLWordPrintable

Details

    • Android
    • c1002747e (dev), c5a97e3b7 (6.8)

    Description

      I came across this problem when adapting a project that use QT gRPC to 6.8.0 beta1 and trying to build it under Android x86_64

      Project url: https://github.com/jgaa/next-app

       

      [cmake] Running /usr/bin/cmake -S /home/jgaa/src/next-app/src/NextAppUi -B /var/local/build/NextAppUi-Android_Qt_6_8_0_Clang_x86_64-Debug in /var/local/build/NextAppUi-Android_Qt_6_8_0_Clang_x86_64-Debug.
      [cmake] – Could NOT find Qt6ProtobufQuick (missing: Qt6ProtobufQuick_DIR)
      [cmake] CMake Error at CMakeLists.txt:37 (find_package):
      [cmake] Found package configuration file:
      {{[cmake] }}
      [cmake] /opt/Qt/6.8.0/android_x86_64/lib/cmake/Qt6/Qt6Config.cmake
      {{[cmake] }}
      [cmake] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      [cmake] FOUND. Reason given by package:
      {{[cmake] }}
      [cmake] Failed to find required Qt component "ProtobufQuick".
      {{[cmake] }}
      [cmake] Expected Config file at
      [cmake] "/opt/Qt/6.8.0/android_x86_64/lib/cmake/Qt6ProtobufQuick/Qt6ProtobufQuickConfig.cmake"
      [cmake] does NOT exist

       

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            jgaa Jarle Aase
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes