Copying two files in a third one…

Page  
3

February 23, 2012

Andre Andre
Mad Scientist
4667 posts

croussou wrote:
It was mostly a general question, if there is any way for an application to provide files in an archive :)
Not about concatenation itself…just the zipping process.

Grmbl!
Then please, why do you only say that now? Why do you send us down a different road, trying to answer the question you asked instead of the question you have? Please spend a bit more time formulating your actual question in the future; describe what you want to achieve, not how you think you might achieve it. That will make us spend our time more efficiently.

Anyway, working with ZIP files is a FAQ [developer.qt.nokia.com] on this site. There is plenty [developer.qt.nokia.com] to be found on this site on this topic.

 Signature 

Nokia Certified Qt Specialist.
Interested in Qt consultancy and job opportunities.

February 23, 2012

Deleted Member # 269f Deleted Member # 269f
Robot Herder
251 posts

Again, you have to use the format API. Or reimplement everything yourself which is not really applicable.

Luckily most archive formats have an open API so they can easily be integrated.

February 23, 2012

croussou croussou
Ant Farmer
70 posts

Well, I certainly apologize for misleading you. I was just trying to explain what I want to achieve…obviously did not come out in the right way.

 Signature 

Regards,

croussou

February 23, 2012

Deleted Member # 269f Deleted Member # 269f
Robot Herder
251 posts

Relax, we are all flawed by design – that is what life is for, polishing those flaws ;)

Take a look here:
http://www.7-zip.org/sdk.html

LZMA SDK includes: C++ source code for .7z compression and decompression (reduced version)

This is no longer Qt territory, but you can easily integrate the 7zip library and use it in your Qt project.

February 23, 2012

croussou croussou
Ant Farmer
70 posts

Thank you.

Looks interesting indeed. I will have a look, although I am not sure that I can use it that easily :)

 Signature 

Regards,

croussou

February 23, 2012

Deleted Member # 269f Deleted Member # 269f
Robot Herder
251 posts

You cannot expect others to write all your code for you, you have to learn it for yourself, and it does take time. Even if your get all the code snippets from others, without the proper skills you will not be able to put them together in a working program. Rome wasn’t built overnight you know ;)

February 23, 2012

croussou croussou
Ant Farmer
70 posts

Definitely, no doubt about that. It’s just the best way for me to learn is by reading theory but mostly examples. Then you can apply the similar functionality to your application :)

 Signature 

Regards,

croussou

February 23, 2012

Deleted Member # 269f Deleted Member # 269f
Robot Herder
251 posts

A final word of advice, don’t think, not even for a moment, that you will be able to avoid the hard work of digging through the documentation, all the examples you see cover at best the very basics, learning to find what you need in the DOC is MANDATORY if you really intend to become a programmer.

Good luck.

February 23, 2012

croussou croussou
Ant Farmer
70 posts

Thanks for all the help you provided, much appreciated.

 Signature 

Regards,

croussou

February 23, 2012

JohnKaul JohnKaul
Lab Rat
9 posts

wow. This thread went down a totally different path than I thought it would.

#lol#

Page  
3

  ‹‹ Debugging static lib in Ubuntu      Phonon - audio playback, any way to display a bitmap ››

You must log in to post a reply. Not a member yet? Register here!