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

Example Recipebrowser in WebEngine needs QuickControls2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2
    • Fix Version/s: 5.9.3
    • Labels:
      None
    • Environment:
    • Commits:
      b2c1d565cc4c704dfb266d1291dd50a9e4d1c4bc

      Description

      Hi all,

      I'm trying to compile Qt5.9.2 from source and it fails because of this commit.

      I'm compiling Qt without quickcontrols2 and as far as I know the webengine itself isn't in need of that module, but the example recipebrowser is - so it fails to compile.

      A much better solution here would be to wrap the example in the pro-file with the use of qtHaveModule like:

       

      TEMPLATE=subdirs
      
      SUBDIRS += \
          customdialogs \
          minimal \
          quicknanobrowser
      
      qtHaveModule(quickcontrols2) {
          SUBDIRS += \
          recipebrowser
      }
      

      Then it wouldn't cause an error and crash the "entire" build.

       

      Like always: Just ask if you need more details.

      Thanks and kind regards,
      Mike

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            lachrymology Mike
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes