Results 1 to 8 of 8

Thread: Can't install Quazip in Qt5 on unix

  1. #1
    Join Date
    Dec 2014
    Posts
    82
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Can't install Quazip in Qt5 on unix

    Hi,

    I'm new with Qt and with Unix so I'm having so much problems trying to install Quazip.
    As it says here: http://quazip.sourceforge.net/ you have to


    Qt Code:
    1. $ cd /wherever/quazip/source/is/quazip-x.y.z/quazip
    2. $ qmake [PREFIX=where-to-install]
    3. $ make
    To copy to clipboard, switch view to plain text mode 
    I have my project in: /home/sara/Documents/PJs/Test1 so i go there and open a terminal (so I don't have to write the cd /path
    I put quazip folder there too.Then I put:
    qmake /home/sara/Documents/PJs/Test1/Test1/quazip-0.7/quazip/

    and then I suppose I have to put make isntall but it says:
    Qt Code:
    1. make: Nothing to be done for `install'.
    To copy to clipboard, switch view to plain text mode 

    Can you help me with which steps do I need to do to install that? Thank you!

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Can't install Quazip in Qt5 on unix

    qmake quazip.pro

    or whatever the .pro file is called.

    If you don't specify a PREFIX then it is going to /usr/local, so you might want to do something like

    qmake PREFIX=/home/sara/Documents/PJs/Test1/Test1 quazip.pro

    Cheers,
    _

  3. #3
    Join Date
    Dec 2014
    Posts
    82
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't install Quazip in Qt5 on unix

    Hi anda_skoa, thank you for your reply

    I wrote:

    Qt Code:
    1. qmake PREFIX=PREFIX=/home/sara/Documents/PJs/Test1/Test1/quazip-0.7/ quazip.pro
    To copy to clipboard, switch view to plain text mode 

    because its in quazip-0.7 where the quazip.pro file is but it says:
    Qt Code:
    1. quazip.pro:31: Unknown test function: CONFIG
    To copy to clipboard, switch view to plain text mode 

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Can't install Quazip in Qt5 on unix

    Quote Originally Posted by roseicollis View Post
    I wrote:

    Qt Code:
    1. qmake PREFIX=PREFIX=/home/sara/Documents/PJs/Test1/Test1/quazip-0.7/ quazip.pro
    To copy to clipboard, switch view to plain text mode 
    That doesn't look right, there is a duplicated "PREFIX=" part.

    And the path given is where you want to install to, not where the sources are.
    If you don't intend to call "make install" you can omit the prefix alltogether.

    Just to see if that was the problem, run qmake with just the .pro file as an argument.

    Or, if you have QtCreator installed, open the .pro file there and built it from there.

    Cheers,
    _

  5. #5
    Join Date
    Dec 2014
    Posts
    82
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't install Quazip in Qt5 on unix

    Hi,
    That doesn't look right, there is a duplicated "PREFIX=" part.
    Ups that was a copy paste mistake, I wrote it with only one PREFIX.

    I tried some other paths before that last post I put and was the same, that's why I asked (I mean, normally I try what I think that can make it run, not only the answer gave to me if it doen't work )

    I have just tried : qmake quazip.pro but it says the same : Unknown test function: CONFIG

  6. #6
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Can't install Quazip in Qt5 on unix

    The line that triggers the error looks fine.

    Which version of qmake are you invoking?

    If you don't need a static library build you could also remove the line or put a comment character in front if it (#)

    Cheers,
    _

  7. #7
    Join Date
    Dec 2014
    Posts
    82
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't install Quazip in Qt5 on unix

    Hi,

    I don't know the qmake version but I'm working with Qt5 if that helps.

  8. #8
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Can't install Quazip in Qt5 on unix

    Yes, that is the interesting information anyway
    But to be sure run
    qmake -version

    I've just downloaded and built quazip-0.7 without any problems, Qt 5.3.2 (qmake 3.0)

    Alternatively have a look at KArchive: http://inqlude.org/libraries/karchive.html

    Cheers,
    _

Similar Threads

  1. Adding quazip in cmake?
    By akshaysulakhe in forum Qt Programming
    Replies: 0
    Last Post: 24th July 2013, 14:49
  2. A problem regarding QuaZip
    By zgulser in forum Qt Programming
    Replies: 8
    Last Post: 28th June 2012, 16:40
  3. Quazip Installation Issues
    By frankiefrank in forum Newbie
    Replies: 8
    Last Post: 22nd April 2011, 09:45
  4. QuaZIP and Password?
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 16th December 2008, 09:10
  5. QuaZip + dir inside
    By Axsis in forum Newbie
    Replies: 0
    Last Post: 7th May 2008, 12:28

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.