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

Can't build qtquickcalendar due to missing SQL dependency

    XMLWordPrintable

    Details

    • Commits:
      09cb08ec4cfdb5f370348ed4b91bb2bf0d30a106 (qt-extensions/qtquickcalendar/dev) 131682ec7df14b661c6a1290c683cac436c1328e (qt/qtdeclarative/dev) 92cf7354066b7e564f4f8d16f612b087fc585b0f (qt/qtdeclarative/6.2)

      Description

      Running

      mitch@mitch-ubuntu-20:~/dev/qtquickcalendar-qt-dev2-debug$ ~/dev/qt-dev2-debug/qtbase/bin/qt-configure-module ~/dev/qtquickcalendar
      

      with https://codereview.qt-project.org/c/qt-extensions/qtquickcalendar/+/360348, https://codereview.qt-project.org/c/qt-extensions/qtquickcalendar/+/360418, and the following patch applied to https://code.qt.io/cgit/qt-extensions/qtquickcalendar.git:

      diff --git a/CMakeLists.txt b/CMakeLists.txt
      index d448d5b..df9aba7 100644
      --- a/CMakeLists.txt
      +++ b/CMakeLists.txt
      @@ -10,7 +10,9 @@ project(quickcalendar
           LANGUAGES CXX C
       )
       
      +set(CMAKE_FIND_DEBUG_MODE TRUE)
       find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core QuickControls2 QuickTemplates2)
      +set(CMAKE_FIND_DEBUG_MODE FALSE)
       
       if(NOT TARGET Qt::QuickControls2)
           message(NOTICE "Skipping the build as the condition \"TARGET Qt::QuickControls2\" is not met.")
      

      I get this output:

      qtquickcalendar-cmake-errors-02-08-2021.txt

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-95532
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: