Hello Friends, I am trying to add quazip, which is a zip utility for cmake. I have added in the include directory. But i have no idea what to add in other sources, wrapui, etc. Below is my cmake file.
include_directories(
${QT_INCLUDES}
${CMAKE_CURRENT_BINARY_DIR}
../../lib/Corelibs
../../lib/Guilibs
../../lib/otherlibs
../../lib/quazip-0.5.1
)
qt4_wrap_ui(UIS
MainWindow.ui
ImagePreview.ui
)
set(SRCS
sources.cpp
${UIS}
)
SET(RESOURCES qrc.qrc)
qt4_automoc(${SRCS})
QT4_ADD_RESOURCES(RESOURCES_RCC ${RESOURCES})
add_executable(project_name ${SRCS} ${RESOURCES_RCC})
set_target_properties(project_name PROPERTIES AUTOMOC TRUE)
target_link_libraries(project_name
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
project_gui
)
and the link for quazip is http://quazip.sourceforge.net/index.html . Kindly let me know what more to add. Thank you for your time.
Added after 22 minutes:
These are the files in quazip, please find the attached image.Bildschirmfoto5.jpg
Bookmarks