File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 - name : Build
8484 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
8585
86+ - name : Verify Qt6Core5Compat in pkg-config file
87+ if : " startsWith(inputs.qt_version, '6.') && inputs.qtextcodec != 'OFF'"
88+ run : grep -q "Qt6Core5Compat" ${{github.workspace}}/build/quazip/*.pc
89+
8690 - name : Run tests
8791 if : inputs.run_tests && !inputs.cross_extract
8892 working-directory : ${{github.workspace}}/build
Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ if(QUAZIP_ENABLE_QTEXTCODEC)
253253 if (Qt6Core5Compat_FOUND)
254254 set (QUAZIP_LIB_LIBRARIES ${QUAZIP_LIB_LIBRARIES} Qt6::Core5Compat)
255255 set (QUAZIP_TEST_QT_LIBRARIES ${QUAZIP_TEST_QT_LIBRARIES} Qt6::Core5Compat)
256+ string (APPEND QUAZIP_PKGCONFIG_REQUIRES ", Qt6Core5Compat" )
256257
257258 set (QUAZIP_CAN_USE_QTEXTCODEC TRUE )
258259 message ("-- Quazip can use QTextCodec" )
You can’t perform that action at this time.
0 commit comments