diff --git a/qtmoc.cmake b/qtmoc.cmake index d6c31fc..2d5a1d7 100644 --- a/qtmoc.cmake +++ b/qtmoc.cmake @@ -14,7 +14,7 @@ set( ${MOC_LIST} ) # Create the MOC_LIST -QT5_WRAP_CPP( ${MOC_LIST} ${MOCABLE_LIST} ) +QT6_WRAP_CPP( ${MOC_LIST} ${MOCABLE_LIST} ) # Append SRC_LIST with MOC_LIST list ( APPEND SRC_LIST diff --git a/qtuic.cmake b/qtuic.cmake index 8e3bf21..e1f5a64 100644 --- a/qtuic.cmake +++ b/qtuic.cmake @@ -14,7 +14,7 @@ set( ${UIC_LIST} ) # Create the UIC_LIST -QT5_WRAP_UI( ${UIC_LIST} ${UICABLE_LIST} ) +QT6_WRAP_UI( ${UIC_LIST} ${UICABLE_LIST} ) # Append SRC_LIST with UIC_LIST list ( APPEND SRC_LIST