There is .pro file only when u are using qmake.
if u are using cmake
add this config into your CMakeLists.txt file
find_package(Qt6 REQUIRED COMPONENTS PrintSupport)
target_link_libraries(mytarget PRIVATE Qt6::PrintSupport)
more reference https://doc.qt.io/qt-6/qtprintsupport-index.html