Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. conan-provided Qt missing files?
Qt 6.12 LTS is out! See what's new in the release blog

conan-provided Qt missing files?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 601 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rhvonlehe
    wrote on last edited by rhvonlehe
    #1

    I'm trying to use conan to install Qt 6.4.2 as part of a project. In my conanfile, I have requires = "qt/6.4.2". I run an install command:

    conan install <path_to_my_conanfile> --build=missing

    and this goes out and gets the Qt 6.4.2 package. However, the lib/cmake file is missing the majority of the files when I compare the conan-installed Qt folder with the manually installed Qt folder.

    In my conan cache, the lib/cmake folder has only:

    Qt6/  Qt6Core/  Qt6Gui/  Qt6Widgets/
    

    but if I check the Qt installed with the maintenance tool there are dozens of folders within lib/cmake:

    Qt6/                               Qt6JpegPrivate/               Qt6QuickControls2/
    Qt63DAnimation/                    Qt6JsonRpcPrivate/            Qt6QuickControls2Impl/
    Qt63DCore/                         Qt6LabsAnimation/             Qt6QuickControlsTestUtilsPrivate/
    Qt63DExtras/                       Qt6LabsFolderListModel/       Qt6QuickDialogs2/
    Qt63DInput/                        Qt6LabsQmlModels/             Qt6QuickDialogs2QuickImpl/
    Qt63DLogic/                        Qt6LabsSettings/              Qt6QuickDialogs2Utils/
    Qt63DQuick/                        Qt6LabsSharedImage/           Qt6QuickLayouts/
    Qt63DQuickAnimation/               Qt6LabsWavefrontMesh/         Qt6QuickParticlesPrivate/
    Qt63DQuickExtras/                  Qt6LanguageServerPrivate/     Qt6QuickShapesPrivate/
    Qt63DQuickInput/                   Qt6Linguist/                  Qt6QuickTemplates2/
    Qt63DQuickRender/                  Qt6LinguistTools/             Qt6QuickTest/
    Qt63DQuickScene2D/                 Qt6Multimedia/                Qt6QuickTestUtilsPrivate/
    Qt63DRender/                       Qt6MultimediaQuickPrivate/    Qt6QuickTimeline/
    Qt6ActiveQt/                       Qt6MultimediaWidgets/         Qt6QuickWidgets/
    Qt6AxBasePrivate/                  Qt6Network/                   Qt6RemoteObjects/
    Qt6AxContainer/                    Qt6NetworkAuth/               Qt6RemoteObjectsQml/
    Qt6AxContainerTools/               Qt6Nfc/                       Qt6RemoteObjectsTools/
    Qt6AxServer/                       Qt6OpenGL/                    Qt6RepParser/
    Qt6AxServerTools/                  Qt6OpenGLWidgets/             Qt6Scxml/
    Qt6Bluetooth/                      Qt6PacketProtocolPrivate/     Qt6ScxmlQml/
    Qt6BodymovinPrivate/               Qt6Pdf/                       Qt6ScxmlTools/
    Qt6BuildInternals/                 Qt6PdfQuick/                  Qt6Sensors/
    Qt6Bundled_Clip2Tri/               Qt6PdfWidgets/                Qt6SensorsQuick/
    Qt6BundledEmbree/                  Qt6PngPrivate/                Qt6SerialBus/
    Qt6BundledFreetype/                Qt6Positioning/               Qt6SerialPort/
    Qt6BundledLibjpeg/                 Qt6PositioningQuick/          Qt6ShaderTools/
    Qt6BundledLibpng/                  Qt6PrintSupport/              Qt6ShaderToolsTools/
    Qt6BundledOpenwnn/                 Qt6Qml/                       Qt6SpatialAudio/
    Qt6BundledPhysX/                   Qt6QmlCompilerPrivate/        Qt6Sql/
    Qt6BundledPinyin/                  Qt6QmlCore/                   Qt6StateMachine/
    Qt6BundledResonanceAudio/          Qt6QmlDebugPrivate/           Qt6StateMachineQml/
    Qt6BundledTcime/                   Qt6QmlDomPrivate/             Qt6Svg/
    Qt6Charts/                         Qt6QmlImportScanner/          Qt6SvgWidgets/
    Qt6ChartsQml/                      Qt6QmlIntegration/            Qt6Test/
    Qt6Concurrent/                     Qt6QmlLocalStorage/           Qt6TextToSpeech/
    Qt6Core/                           Qt6QmlModels/                 Qt6Tools/
    Qt6Core5Compat/                    Qt6QmlTools/                  Qt6ToolsTools/
    Qt6CoreTools/                      Qt6QmlWorkerScript/           Qt6UiPlugin/
    Qt6DataVisualization/              Qt6QmlXmlListModel/           Qt6UiTools/
    Qt6DataVisualizationQml/           Qt6Quick/                     Qt6VirtualKeyboard/
    Qt6DBus/                           Qt6Quick3D/                   Qt6WebChannel/
    Qt6DBusTools/                      Qt6Quick3DAssetImport/        Qt6WebEngineCore/
    Qt6Designer/                       Qt6Quick3DAssetUtils/         Qt6WebEngineCoreTools/
    Qt6DesignerComponentsPrivate/      Qt6Quick3DEffects/            Qt6WebEngineQuick/
    Qt6DeviceDiscoverySupportPrivate/  Qt6Quick3DGlslParserPrivate/  Qt6WebEngineQuickDelegatesQml/
    Qt6EntryPointPrivate/              Qt6Quick3DHelpers/            Qt6WebEngineWidgets/
    Qt6FbSupportPrivate/               Qt6Quick3DIblBaker/           Qt6WebSockets/
    Qt6FreetypePrivate/                Qt6Quick3DParticleEffects/    Qt6WebView/
    Qt6Gui/                            Qt6Quick3DParticles/          Qt6WebViewQuick/
    Qt6GuiTools/                       Qt6Quick3DPhysics/            Qt6Widgets/
    Qt6HarfbuzzPrivate/                Qt6Quick3DPhysicsHelpers/     Qt6WidgetsTools/
    Qt6Help/                           Qt6Quick3DRuntimeRender/      Qt6Xml/
    Qt6HostInfo/                       Qt6Quick3DTools/              Qt6ZlibPrivate/
    Qt6HttpServer/                     Qt6Quick3DUtils/
    

    As a result, with the conan-provided Qt, I don't have the necessary cmake file to allow me to use qt_add_qml_module()

    Am I doing something wrong or is there a bug with the Qt package at the conancenter index? My memory is that Qt stopped hosting its own conan server.

    EDIT: this is my conan profile in case that makes a difference

    $ conan profile show default
    Configuration for profile default:
    
    [settings]
    os=Windows
    os_build=Windows
    arch=x86_64
    arch_build=x86_64
    compiler=Visual Studio
    compiler.version=16
    build_type=Release
    [options]
    [conf]
    [build_requires]
    [env]
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved