diff --git a/libpyside/CMakeLists.txt b/libpyside/CMakeLists.txt
index 0b2f7a0..31e41e8 100644
--- a/libpyside/CMakeLists.txt
+++ b/libpyside/CMakeLists.txt
@@ -123,8 +123,6 @@ endif()
 
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII")
 
-qfp_strip_library("pyside6")
-
 # create pkg-config file
 configure_file("${CMAKE_CURRENT_SOURCE_DIR}/pyside6.pc.in"
                "${CMAKE_CURRENT_BINARY_DIR}/pyside6${pyside6_SUFFIX}.pc" @ONLY)
diff --git a/libpysideqml/CMakeLists.txt b/libpysideqml/CMakeLists.txt
index 42238c8..33bfce1 100644
--- a/libpysideqml/CMakeLists.txt
+++ b/libpysideqml/CMakeLists.txt
@@ -57,8 +57,6 @@ endif()
 
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII")
 
-qfp_strip_library("pyside6qml")
-
 # Install-tree / relocatable package config file.
 configure_package_config_file(
     "${CMAKE_CURRENT_SOURCE_DIR}/PySide6QmlConfig-spec.cmake.in"
