Results 1 to 9 of 9

Thread: Quazip Installation Issues

  1. #1
    Join Date
    Dec 2010
    Location
    Israel
    Posts
    90
    Thanks
    59
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Quazip Installation Issues

    Has anyone tired installing Quazip (0.3)?

    http://sourceforge.net/projects/quazip/

    I'm using QT 4.7.2, and zlib (which is a requirement for Quazip) is in my 3dparty folder. I'm opening the project with VS 2008 and I've added the the zlib path to the Additional Include folders in the project's properties.

    I'm getting all kinds of syntax errors, which means obviously I'm doing something wrong.

    Anyone done it in the same method and can tell me if it works?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Quazip Installation Issues

    Post the first error you get. Note that Win32/MSVC is not listed as a supported platform for QuaZIP so it might not work at all.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Dec 2010
    Location
    Israel
    Posts
    90
    Thanks
    59
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Quazip Installation Issues

    This page, also sourceforge, has win32 listed:
    http://quazip.sourceforge.net/

    I'm opening the project file for quazip - adding the <my qt version>\src\3rdparty\zlib to the additional includes.

    First error:
    qazip\quazip-0.3\quazip\crypt.h(38) : error C2143: syntax error : missing ';' before 'type'

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Quazip Installation Issues

    Quote Originally Posted by frankiefrank View Post
    This page, also sourceforge, has win32 listed:
    http://quazip.sourceforge.net/
    Yes, but win32-g++ and not win32-msvc.


    First error:
    qazip\quazip-0.3\quazip\crypt.h(38) : error C2143: syntax error : missing ';' before 'type'
    And what's the contents of crypt.h:38?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Dec 2010
    Location
    Israel
    Posts
    90
    Thanks
    59
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Quazip Installation Issues

    Qt Code:
    1. unsigned temp;
    To copy to clipboard, switch view to plain text mode 

    A collegue is maybe making some progress - I'll update if this is resolved.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Quazip Installation Issues

    And the previous line?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Dec 2010
    Location
    Israel
    Posts
    90
    Thanks
    59
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Quazip Installation Issues

    Qt Code:
    1. (void) pcrc_32_tab;
    To copy to clipboard, switch view to plain text mode 

  8. #8
    Join Date
    May 2010
    Posts
    86
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Quazip Installation Issues

    I'm also using the same QuaZIP under Qt and MinGW, but works:

    Qt Code:
    1. /***********************************************************************
    2.  * Return the next byte in the pseudo-random sequence
    3.  */
    4. static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab)
    5. {
    6. (void) pcrc_32_tab; /* avoid "unused parameter" warning */
    7. unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an
    8.   * unpredictable manner on 16-bit systems; not a problem
    9.   * with any known compiler so far, though */
    10.  
    11. temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2;
    12. return (int)(((temp * (temp ^ 1)) >> 8) & 0xff);
    13. }
    To copy to clipboard, switch view to plain text mode 

  9. #9
    Join Date
    Dec 2010
    Location
    Israel
    Posts
    90
    Thanks
    59
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Quazip Installation Issues

    Thanks for your message. For some reason we couldn't get it working.

    I've decided to run 7-zip using QProcess - suits my needs.

Similar Threads

  1. QuaZIP and Password?
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2008, 09:10
  2. qt + mingw installation issues
    By pospiech in forum Installation and Deployment
    Replies: 3
    Last Post: 8th May 2008, 20:42
  3. QuaZip + dir inside
    By Axsis in forum Newbie
    Replies: 0
    Last Post: 7th May 2008, 12:28
  4. [Solved] QuaZIP and getting a file out of an archiv
    By Lykurg in forum Qt Programming
    Replies: 0
    Last Post: 6th March 2008, 07:44
  5. Basic Qtopia Installation issues
    By Svaths in forum Installation and Deployment
    Replies: 0
    Last Post: 18th July 2006, 11:45

Tags for this Thread

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.