Need to build QtCorePrivate for 6.8.,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-vulkanAt 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. -
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 )