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

Protobuf CMakefiles don't work when protobuf libraries aren't installed

    XMLWordPrintable

Details

    • Android
    • 039257038 (dev), f0286b60b (6.6), cd8b74d4f (6.5), 9d0d89536 (tqtc/lts-6.5)

    Description

      Take the android_content_uri test in qtbase/tests/manual/android_content_uri/
      , try to configure and build it.
      If QtGrpc is installed, this fails if protobuf libraries are installed, CMake tries to use the cmakefiles of Qt protobuf support, failing in protobuf tools. That then leads to the configure of such a test failing, because it's trying to use Qt6BuildInternals.

      Removing Qt Grpc and nuking the build of the test and reconfiguring it works.

      This looks like the detection of protobuf libraries isn't correct, and if they're not detected, protobuf support isn't disabled.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            villevoutilainen_qt Ville Voutilainen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes