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

Example Recipebrowser in WebEngine needs QuickControls2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.3
    • 5.9.2
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: