Results 1 to 1 of 1

Thread: Adding quazip in cmake?

  1. #1
    Join Date
    Jul 2013
    Posts
    27
    Thanks
    11
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Adding quazip in cmake?

    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
    Last edited by akshaysulakhe; 24th July 2013 at 15:49.

Similar Threads

  1. Adding qrc file to cmake?
    By akshaysulakhe in forum Qt Programming
    Replies: 2
    Last Post: 11th July 2013, 12:28
  2. Qt Creator Adding files to cmake project
    By xadian in forum Qt Tools
    Replies: 1
    Last Post: 1st April 2013, 16:18
  3. A problem regarding QuaZip
    By zgulser in forum Qt Programming
    Replies: 8
    Last Post: 28th June 2012, 17:40
  4. QuaZIP and Password?
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2008, 10:10
  5. QuaZip + dir inside
    By Axsis in forum Newbie
    Replies: 0
    Last Post: 7th May 2008, 13:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.