Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Need to build QtCorePrivate for 6.8.,1
Qt 6.12 LTS is out! See what's new in the release blog

Need to build QtCorePrivate for 6.8.,1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 645 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.
  • K Offline
    K Offline
    KarlM
    wrote on last edited by
    #1

    I'm building a custom Qt 6.8.1 and then I'm trying to build PySide6. My Qt6 build configuration looks like
    ../configure -prefix $HOME/qt-6.8.1
    -opensource -confirm-license
    -developer-build
    -release
    -nomake tests -nomake examples
    -skip qt3d
    -skip qtcharts
    -skip qtconnectivity
    -skip qtdatavis3d
    -skip qtdoc
    -skip qtgamepad
    -skip qtgrpc
    -skip qthttpserver
    -skip qtimageformats
    -skip qtlocation
    -skip qtlottie
    -skip qtmultimedia
    -skip qtmqtt
    -skip qtnetworkauth
    -skip qtopcua
    -skip qtpositioning
    -skip qtquick3d
    -skip qtquicktimeline
    -skip qtremoteobjects
    -skip qtscxml
    -skip qtsensors
    -skip qtserialbus
    -skip qtserialport
    -skip qtspeech
    -skip qttools
    -skip qttranslations
    -skip qtvirtualkeyboard
    -skip qtwayland
    -skip qtwebchannel
    -skip qtwebengine
    -skip qtwebsockets
    -skip qtwebview
    -skip qtxmlpatterns
    -no-feature-vulkan

    At the end of the build process there is no reference anywhere to Qt6CorePrivate (ripgrep -l Qt6CorePrivate). The PySide6 build is looking for Qt6CorePrivateConfig.cmake. How do I build that file? In general how to build Qt6 so that I can build a custom PySide6?

    Thanks,
    Karl M.

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      In your CMakeLists.txt, just find the package and link to it>:

      find_package(Qt6 REQUIRED COMPONENTS Core CorePrivate)
      
      ...
      
      target_link_libraries(target_name
          PRIVATE
          Qt6::Core
          Qt6::CorePrivate
      )
      

      Software Engineer
      The Qt Company, Oslo

      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