Build QuaZip for Android Qt
-
Re,
So, the building works, but I have 2 problems with the library :
- impossible to find the quazip lib in the folder : /Applications/Qt/Qt5.8.0/5.8/android
- I have this message wher execute the code
undefined reference to 'JlCompress::compressFile(QString, QString)'
Do you have any idea about these problems?
-
Where is the file located ?
The second error comes from the first. If the linker can't find the library it can't link to it thus you'll have symboles missing.
As for the "solving" part. You need to select ask as question from the "Topic Tools" button and then click on it again to mark the thread as solved.
-
@SGaist said in Build QuaZip for Android Qt:
Where is the file located ?
The lib ? Precisely I don't know. With the QuaZip for Mac OS, I have
/Applications/Qt/Qt5.8.0/5.8/clang_64/lib/libquazip.1.0.0.dylib
.
But with QuaZip for Android, I have nothing in/Applications/Qt/Qt5.8.0/5.8/android/lib
. Still, I have the headers in/Applications/Qt/Qt5.8.0/5.8/android/include
@SGaist said in Build QuaZip for Android Qt:
As for the "solving" part. You need to select ask as question from the "Topic Tools" button and then click on it again to mark the thread as solved.
Yes, but here I only have two possibilities : Delete topic & Ask as question :(
-
Did you install the library ?
You must first click on "Ask as question" and then when you open it again you'll have the "mark as solved".
-
@CharlieG
I am currently trying to use Quazip for Android, but I cannot use Quazip in QT and I am getting an error. What I did was I installed quazip-dev for Ubuntu and referenced it to my qt project, but it does not recognize the library. How did you install Quazip and compile it for Android? Can you please help? -
@GulsahAkt said in Build QuaZip for Android Qt:
What I did was I installed quazip-dev for Ubuntu and referenced it to my qt project, but it does not recognize the library. How did you install Quazip and compile it for Android? Can you please help?
I already told you in your other thread what you need to do:
- Build QuaZip for android
- Use this build to build your app for Android
What about following this suggestion?
Installing QuZip packages for your Linux distribution will not help you because those are for your desktop Linux, not for Android...
-
@jsulm I'm very sorry, after your answer I'm looking into how to compile it for Android. I don't know what I need to do to compile for Android. I couldn't find what to do for Android from Quazip's own instructions.
I am inexperienced in this matter and unfortunately this was the only post I came across on the forum about it.