You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails for me. After some online searching it looks like this header was a private one no longer present in Qt. In order to get this to work I have to manually copy zlib.h to a location as QtZlib/zlib.h to mock the behaviour. I have added AbZip as a git submodule to my project:
# AbZip assumes QtZlib/zlib.h exists when it does not so have to dummy itadd_custom_target( MOCK_QTLZIB
COMMAND${CMAKE_COMMAND} -E copy ${ZLIB_INCLUDE_DIRS}/zlib.h ${CMAKE_BINARY_DIR}/QtZlib/zlib.h
)
target_include_directories( ${ABZIP}PUBLIC${CMAKE_BINARY_DIR}/zlib )
add_dependencies( ${ABZIP} MOCK_QTLZIB )
I recommend removing this and adding the requirement for zlib.h or finding another way of doing this.
But I can confirm this works! Also does exactly what I have been wanting to do so thank you 🙂
The text was updated successfully, but these errors were encountered:
The macro:
fails for me. After some online searching it looks like this header was a private one no longer present in Qt. In order to get this to work I have to manually copy
zlib.h
to a location asQtZlib/zlib.h
to mock the behaviour. I have addedAbZip
as a git submodule to my project:I recommend removing this and adding the requirement for
zlib.h
or finding another way of doing this.But I can confirm this works! Also does exactly what I have been wanting to do so thank you 🙂
The text was updated successfully, but these errors were encountered: