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

Cmake is not finding Quick and Widgets modules on Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.4.0
    • Build System: CMake
    • None
    • #56~20.04.1-Ubuntu SMP Tue Sep 27 15:51:29 UTC 2022
    • Linux/Wayland

    Description

      find_package(Qt6 QUIET COMPONENTS Core Quick Network Widgets Concurrent Core5Compat REQUIRED)

       

      /home/markus/Development/FigmaQML/CMakeLists.txt:34: error: Found package configuration file: /home/markus/Qt/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "Quick". Expected Config file at "/home/markus/Qt/6.4.0/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists

       

      also Widgets is missing, other components are found

       

      Qt 6.3.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1)) on "xcb" 
      OS: Ubuntu 20.04.4 LTS [linux version 5.15.0-50-generic]
      
      Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
      
      Environment:
       QT_ACCESSIBILITY="1"
       QT_IM_MODULE="ibus"
      
      Features: QT_NO_EXCEPTIONS
      
      Library info:
       PrefixPath: /home/markus/Qt/Tools/QtCreator/lib/Qt
       DocumentationPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/doc
       HeadersPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/include
       LibrariesPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/lib
       LibraryExecutablesPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/libexec
       BinariesPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/bin
       PluginsPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/plugins
       QmlImportsPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/qml
       ArchDataPath: /home/markus/Qt/Tools/QtCreator/lib/Qt
       DataPath: /home/markus/Qt/Tools/QtCreator/lib/Qt
       TranslationsPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/translations
       ExamplesPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/examples
       TestsPath: /home/markus/Qt/Tools/QtCreator/lib/Qt/tests
       SettingsPath: /home/markus/Qt/Tools/QtCreator/lib/Qt
      
      Standard paths [*...* denote writable entry]:
       DesktopLocation: "Desktop" */home/markus/Desktop*
       DocumentsLocation: "Documents" */home/markus/Documents*
       FontsLocation: "Fonts" */home/markus/.local/share/fonts* /home/markus/.fonts /usr/share/ubuntu/fonts /usr/local/share/fonts /usr/share/fonts /var/lib/snapd/desktop/fonts
       ApplicationsLocation: "Applications" */home/markus/.local/share/applications* /usr/share/ubuntu/applications /usr/local/share/applications /usr/share/applications /var/lib/snapd/desktop/applications
       MusicLocation: "Music" */home/markus/Music*
       MoviesLocation: "Movies" */home/markus/Videos*
       PicturesLocation: "Pictures" */home/markus/Pictures*
       TempLocation: "Temporary Directory" */tmp*
       HomeLocation: "Home" */home/markus*
       AppLocalDataLocation: "Application Data" */home/markus/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
       CacheLocation: "Cache" */home/markus/.cache/QtProject/qtdiag*
       GenericDataLocation: "Shared Data" */home/markus/.local/share* /usr/share/ubuntu /usr/local/share /usr/share /var/lib/snapd/desktop
       RuntimeLocation: "Runtime" */run/user/1000*
       ConfigLocation: "Configuration" */home/markus/.config* /etc/xdg/xdg-ubuntu /etc/xdg
       DownloadLocation: "Download" */home/markus/Downloads*
       GenericCacheLocation: "Shared Cache" */home/markus/.cache*
       GenericConfigLocation: "Shared Configuration" */home/markus/.config* /etc/xdg/xdg-ubuntu /etc/xdg
       AppDataLocation: "Application Configuration" */home/markus/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag
       AppConfigLocation: "Application Configuration" */home/markus/.config/QtProject/qtdiag* /etc/xdg/xdg-ubuntu/QtProject/qtdiag /etc/xdg/QtProject/qtdiag
      
      File selectors (increasing order of precedence):
       en_US unix linux ubuntu
      
      Network:
       Using "OpenSSL 1.1.1f 31 Mar 2020", version: 0x1010106f
      
      Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition
      
      Style hints:
       mouseDoubleClickInterval: 400
       mousePressAndHoldInterval: 500
       startDragDistance: 8
       startDragTime: 500
       startDragVelocity: 0
       keyboardInputInterval: 400
       keyboardAutoRepeatRate: 30
       cursorFlashTime: 1200
       showIsFullScreen: 0
       showIsMaximized: 0
       passwordMaskDelay: 0
       passwordMaskCharacter: U+2022
       fontSmoothingGamma: 1.7
       useRtlExtensions: 0
       setFocusOnTouchRelease: 0
       tabFocusBehavior: Qt::TabFocusAllControls 
       singleClickActivation: 0
      
      Additional style hints (QPlatformIntegration):
       ReplayMousePressOutsidePopup: 0
      
      Theme:
       Platforms requested : ubuntu,gtk3,gnome,generic
       available : gtk3,snap,flatpak,xdgdesktopportal
       Styles requested : Fusion,windows
       available : Windows,Fusion
       Icon theme : Yaru, from /home/markus/.local/share/icons,/usr/share/icons,/var/lib/snapd/desktop/icons
       System font : "Ubuntu" 11
       Native file dialog
       Native color dialog
       Native font dialog
      
      Fonts:
       General font : "Ubuntu" 11
       Fixed font : "monospace" 11
       Title font : "DejaVu Sans" 12
       Smallest font: "DejaVu Sans" 12
      
      Palette:
       QPalette::WindowText: #ff000000
       QPalette::Button: #ffefefef
       QPalette::Light: #ffffffff
       QPalette::Midlight: #ffcacaca
       QPalette::Dark: #ff9f9f9f
       QPalette::Mid: #ffb8b8b8
       QPalette::Text: #ff000000
       QPalette::BrightText: #ffffffff
       QPalette::ButtonText: #ff000000
       QPalette::Base: #ffffffff
       QPalette::Window: #ffefefef
       QPalette::Shadow: #ff767676
       QPalette::Highlight: #ff308cc6
       QPalette::HighlightedText: #ffffffff
       QPalette::Link: #ff0000ff
       QPalette::LinkVisited: #ffff00ff
       QPalette::AlternateBase: #fff7f7f7
       QPalette::NoRole: #ff000000
       QPalette::ToolTipBase: #ffffffdc
       QPalette::ToolTipText: #ff000000
       QPalette::PlaceholderText: #80000000
      
      Screens: 2, High DPI scaling: inactive
      # 0 "DP-3" Depth: 24 Primary: yes
       Manufacturer: AOC
       Model: U2879G6-
       Serial number: 2946
       Geometry: 3840x2160+1920+0 Available: 3840x2160+1920+0
       Virtual geometry: 5760x2160+0+0 Available: 5760x2160+0+0
       2 virtual siblings
       Physical size: 621x341 mm Refresh: 59.9966 Hz Power state: 0
       Physical DPI: 157.063,160.891 Logical DPI: 96,96 Subpixel_None
       DevicePixelRatio: 1
       Primary orientation: 2 Orientation: 2 Native orientation: 0
      
      # 1 "eDP-1" Depth: 24 Primary: no
       Manufacturer: AU Optronics
       Model: 
       Serial number: 
       Geometry: 1920x1080+0+724 Available: 1920x1080+0+724
       Virtual geometry: 5760x2160+0+0 Available: 5760x2160+0+0
       2 virtual siblings
       Physical size: 344x194 mm Refresh: 60.0524 Hz Power state: 0
       Physical DPI: 141.767,141.402 Logical DPI: 96,96 Subpixel_None
       DevicePixelRatio: 1
       Primary orientation: 2 Orientation: 2 Native orientation: 0
      
      Input devices: 25
       QInputDevice::DeviceType::Mouse "Virtual core pointer", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "Virtual core keyboard", seat: "30002" capabilities:
       QInputDevice::DeviceType::Mouse "Virtual core XTEST pointer", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "Virtual core XTEST keyboard", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Video Bus", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Video Bus", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Power Button", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Sleep Button", seat: "30002" capabilities:
       QInputDevice::DeviceType::Mouse "DP-3", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Mouse "Logitech M545/M546", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "Integrated_Webcam_HD: Integrate", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Logitech USB Keyboard", seat: "30002" capabilities:
       QInputDevice::DeviceType::Mouse "Logitech USB Keyboard Consumer Control", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "Logitech USB Keyboard System Control", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Turtle Beach Turtle Beach Stealth 700 G2", seat: "30002" capabilities:
       QInputDevice::DeviceType::Mouse "DELL09C2:00 0488:121F Mouse", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Mouse "DELL09C2:00 0488:121F Touchpad", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "DELL09C2:00 0488:121F UNKNOWN", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Intel HID events", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Intel HID 5 button array", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Dell WMI hotkeys", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "AT Translated Set 2 keyboard", seat: "30002" capabilities:
       QInputDevice::DeviceType::Mouse "PS/2 Generic Mouse", seat: "30002" capabilities: Position Scroll Hover
       QInputDevice::DeviceType::Keyboard "DP-3", seat: "30002" capabilities:
       QInputDevice::DeviceType::Keyboard "Logitech USB Keyboard Consumer Control", seat: "30002" capabilities:
      
      
      LibGL Vendor: Intel
      Renderer: Mesa Intel(R) UHD Graphics (CML GT2)
      Version: 4.6 (Compatibility Profile) Mesa 22.1.1 - kisak-mesa PPA
      Shading language: 4.60
      Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
      Profile: None (QOpenGLFunctions_4_6)
      
      Vulkan instance available
      Supported instance extensions:
       VK_KHR_device_group_creation, version 1
       VK_KHR_external_fence_capabilities, version 1
       VK_KHR_external_memory_capabilities, version 1
       VK_KHR_external_semaphore_capabilities, version 1
       VK_KHR_get_physical_device_properties2, version 2
       VK_KHR_get_surface_capabilities2, version 1
       VK_KHR_surface, version 25
       VK_KHR_surface_protected_capabilities, version 1
       VK_KHR_wayland_surface, version 6
       VK_KHR_xcb_surface, version 6
       VK_KHR_xlib_surface, version 6
       VK_EXT_debug_report, version 10
       VK_EXT_debug_utils, version 2
       VK_KHR_display, version 23
       VK_KHR_get_display_properties2, version 1
       VK_EXT_acquire_xlib_display, version 1
       VK_EXT_direct_mode_display, version 1
       VK_EXT_display_surface_counter, version 1
      Supported layers:
       VK_LAYER_MESA_device_select, version 1, spec version 1.3.211, Linux device selection layer
       VK_LAYER_NV_optimus, version 1, spec version 1.3.194, NVIDIA Optimus layer
       VK_LAYER_INTEL_nullhw, version 1, spec version 1.1.73, INTEL NULL HW
       VK_LAYER_MESA_overlay, version 1, spec version 1.3.211, Mesa Overlay layer
       VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.131, LunarG Standard Validation Layer
      Available physical devices:
       API version 1.3.211, vendor 0x8086, device 0x9BC4, Intel(R) UHD Graphics (CML GT2), type 1, driver version 22.1.1 API version 1.3.211, vendor 0x10005, device 0x0, llvmpipe (LLVM 14.0.1, 256 bits), type 4, driver version 0.0.1
      
      Qt Rendering Hardware Interface supported backends:
      OpenGL (with default QSurfaceFormat):
       Driver Info: Device: Intel Mesa Intel(R) UHD Graphics (CML GT2) 4.6 (Compatibility Profile) Mesa 22.1.1 - kisak-mesa PPA Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown
       Min Texture Size: 1
       Max Texture Size: 16384
       Max Color Attachments: 8
       Frames in Flight: 1
       Async Readback Limit: 1
       MaxThreadGroupsPerDimension: 65535
       MaxThreadsPerThreadGroup: 1024
       MaxThreadGroupX: 1024
       MaxThreadGroupY: 1024
       MaxThreadGroupZ: 1024
       TextureArraySizeMax: 2048
       MaxUniformBufferRange: 65536
       Uniform Buffer Alignment: 1
       Supported MSAA sample counts: 1,2,4,8,16
       Features:
       v MultisampleTexture
       v MultisampleRenderBuffer
       - DebugMarkers
       - Timestamps
       v Instancing
       - CustomInstanceStepRate
       v PrimitiveRestart
       v NonDynamicUniformBuffers
       v NonFourAlignedEffectiveIndexBufferOffset
       v NPOTTextureRepeat
       - RedOrAlpha8IsRed
       v ElementIndexUint
       v Compute
       v WideLines
       v VertexShaderPointSize
       v BaseVertex
       - BaseInstance
       v TriangleFanTopology
       v ReadBackNonUniformBuffer
       v ReadBackNonBaseMipLevel
       v TexelFetch
       v RenderToNonBaseMipLevel
       v IntAttributes
       v ScreenSpaceDerivatives
       - ReadBackAnyTextureFormat
       v PipelineCacheDataLoadSave
       v ImageDataStride
       v RenderBufferImport
       v ThreeDimensionalTextures
       v RenderTo3DTextureSlice
       v TextureArrays
       Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
      Vulkan:
       Driver Info: Device: Intel(R) UHD Graphics (CML GT2) Device ID: 0x9BC4 Vendor ID: 0x8086 Device type: Integrated
       Min Texture Size: 1
       Max Texture Size: 16384
       Max Color Attachments: 8
       Frames in Flight: 2
       Async Readback Limit: 2
       MaxThreadGroupsPerDimension: 65535
       MaxThreadsPerThreadGroup: 1024
       MaxThreadGroupX: 1024
       MaxThreadGroupY: 1024
       MaxThreadGroupZ: 1024
       TextureArraySizeMax: 2048
       MaxUniformBufferRange: 134217728
       Uniform Buffer Alignment: 64
       Supported MSAA sample counts: 1,2,4,8,16
       Features:
       v MultisampleTexture
       v MultisampleRenderBuffer
       - DebugMarkers
       v Timestamps
       v Instancing
       - CustomInstanceStepRate
       v PrimitiveRestart
       v NonDynamicUniformBuffers
       v NonFourAlignedEffectiveIndexBufferOffset
       v NPOTTextureRepeat
       v RedOrAlpha8IsRed
       v ElementIndexUint
       v Compute
       v WideLines
       v VertexShaderPointSize
       v BaseVertex
       v BaseInstance
       v TriangleFanTopology
       v ReadBackNonUniformBuffer
       v ReadBackNonBaseMipLevel
       v TexelFetch
       v RenderToNonBaseMipLevel
       v IntAttributes
       v ScreenSpaceDerivatives
       v ReadBackAnyTextureFormat
       v PipelineCacheDataLoadSave
       v ImageDataStride
       - RenderBufferImport
       v ThreeDimensionalTextures
       - RenderTo3DTextureSlice
       v TextureArrays
       Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
      
      MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
      MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
      
      Plugin information:
      
      + Android 8.0.2
      + AutoTest 8.0.2
       AutotoolsProjectManager 8.0.2
       BareMetal 8.0.2
      + Bazaar 8.0.2
       Beautifier 8.0.2
      + BinEditor 8.0.2
      + Bookmarks 8.0.2
       Boot2Qt 8.0.2
      + CMakeProjectManager 8.0.2
      + CVS 8.0.2
      + ClangCodeModel 8.0.2
       ClangFormat 8.0.2
      + ClangTools 8.0.2
      + ClassView 8.0.2
       ClearCase 8.0.2
       Coco 8.0.2
      + CodePaster 8.0.2
       CompilationDatabaseProjectManager 8.0.2
       Conan 8.0.2
      + Core 8.0.2
      + CppEditor 8.0.2
       Cppcheck 8.0.2
      + CtfVisualizer 8.0.2
      + Debugger 8.0.2
      + Designer 8.0.2
      + DiffEditor 8.0.2
       Docker 8.0.2
       EmacsKeys 8.0.2
      + FakeVim 8.0.2
      + GLSLEditor 8.0.2
      + GenericProjectManager 8.0.2
      + Git 8.0.2
       GitLab 8.0.2
       HelloWorld 8.0.2
      + Help 8.0.2
      + ImageViewer 8.0.2
      + IncrediBuild 8.0.2
       Ios 8.0.2
      + LanguageClient 8.0.2
      + Macros 8.0.2
      + Marketplace 8.0.2
       McuSupport 8.0.2
      + Mercurial 8.0.2
       MesonProjectManager 8.0.2
      + ModelEditor 8.0.2
       Nim 8.0.2
      + PerfProfiler 8.0.2
       Perforce 8.0.2
      + ProjectExplorer 8.0.2
      + Python 8.0.2
      + QbsProjectManager 8.0.2
      + QmakeProjectManager 8.0.2
       QmlDesigner 8.0.2
      + QmlJSEditor 8.0.2
      + QmlJSTools 8.0.2
      + QmlPreview 8.0.2
      + QmlProfiler 8.0.2
      + QmlProjectManager 8.0.2
      + Qnx 8.0.2
      + QtSupport 8.0.2
      + RemoteLinux 8.0.2
      + ResourceEditor 8.0.2
      + ScxmlEditor 8.0.2
       SerialTerminal 8.0.2
       SilverSearcher 8.0.2
       StudioWelcome 8.0.2
      + Subversion 8.0.2
      + TaskList 8.0.2
      + TextEditor 8.0.2
       Todo 8.0.2
      + UpdateInfo 8.0.2
      + UsageStatistic 8.0.2
      + Valgrind 8.0.2
      + VcsBase 8.0.2
      + WebAssembly 8.0.2
      + Welcome 8.0.2
      
      Used settingspath: ~/.config/QtProject
      
      Qt Creator 8.0.2
      Based on Qt 6.3.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      From revision 2d5512f2c4
      Built on Oct 19 2022 12:44:51
      
      

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              mertama Markus Mertama
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes