<p>Does anyone have details in setting up Qt4 in Visual Studio 2008? Links to other resources would be appreciated as well.</p>

<p>I already know that the commercial version of Qt has applications to this end. I also realize that I'll probably need to compile from source as the installer for the open source does not support Visual Studio and installs Cygwin.</p>

[{'answer_id': 81893, 'author': 'Oliver Giesen', 'author_id': 9784, 'author_profile': 'https://Stackoverflow.com/users/9784', 'pm_score': 6, 'selected': True, 'text': '<p>As of release 1.102 the <a href="http://wiki.delphi-jedi.org/index.php?title=JEDI_Code_Library" rel="noreferrer">JEDI Code Library</a> has support for <a href="http://en.wikipedia.org/wiki/7-Zip" rel="noreferrer">7-Zip</a> built into the <a href="http://jcl.svn.sourceforge.net/viewvc/jcl/trunk/jcl/source/common/JclCompression.pas?view=markup" rel="noreferrer">JclCompression</a> unit. Haven\'t used it myself yet, though.</p>\n'}, {'answer_id': 91654, 'author': 'Drejc', 'author_id': 6482, 'author_profile': 'https://Stackoverflow.com/users/6482', 'pm_score': 1, 'selected': False, 'text': '<p>If you intend to use 7Zip only for zip and unzip take a look at the <a href="http://www.angusj.com/delphi/" rel="nofollow noreferrer">TZip</a> component.\nI have written a small wrapper for my own purposes, which you can find in the <a href="https://monex.svn.sourceforge.net/svnroot/monex/trunk/Knjiznice/" rel="nofollow noreferrer">Zipper.pas</a> file, feel free to reuse.</p>\n'}, {'answer_id': 1344656, 'author': 'jasonpenny', 'author_id': 28445, 'author_profile': 'https://Stackoverflow.com/users/28445', 'pm_score': 5, 'selected': False, 'text': "<p>Expanding on Oliver Giesen's answer, as with a lot of the JEDI Code Library, I couldn't find any decent documentation, but this works for me:</p>\n\n<pre><code>uses\n   JclCompression;\n\nprocedure TfrmSevenZipTest.Button1Click(Sender: TObject);\nconst\n   FILENAME = 'F:\\temp\\test.zip';\nvar\n   archiveclass: TJclDecompressArchiveClass;\n   archive: TJclDecompressArchive;\n   item: TJclCompressionItem;\n   s: String;\n   i: Integer;\nbegin\n   archiveclass := GetArchiveFormats.FindDecompressFormat(FILENAME);\n\n   if not Assigned(archiveclass) then\n      raise Exception.Create('Could not determine the Format of ' + FILENAME);\n\n   archive := archiveclass.Create(FILENAME);\n   try\n      if not (archive is TJclSevenZipDecompressArchive) then\n         raise Exception.Create('This format is not handled by 7z.dll');\n\n      archive.ListFiles;\n\n      s := Format('test.zip Item Count: %d'#13#10#13#10, [archive.ItemCount]);\n\n      for i := 0 to archive.ItemCount - 1 do\n      begin\n         item := archive.Items[i];\n         case item.Kind of\n            ikFile:\n               s := s + IntToStr(i+1) + ': ' + item.PackedName + #13#10;\n            ikDirectory:\n               s := s + IntToStr(i+1) + ': ' + item.PackedName + '\\'#13#10;//'\n         end;\n      end;\n\n      if archive.ItemCount > 0 then\n      begin\n//         archive.Items[0].Selected := true;\n//         archive.ExtractSelected('F:\\temp\\test');\n\n         archive.ExtractAll('F:\\temp\\test');\n      end;\n\n      ShowMessage(s);\n   finally\n      archive.Free;\n   end;\nend;\n</code></pre>\n"}, {'answer_id': 1348084, 'author': 'Hugues Van Landeghem', 'author_id': 87736, 'author_profile': 'https://Stackoverflow.com/users/87736', 'pm_score': 3, 'selected': False, 'text': '<p>7 Zip Plugin API</p>\n\n<p><a href="http://www.progdigy.com/?page_id=13" rel="noreferrer">http://www.progdigy.com/?page_id=13</a></p>\n'}, {'answer_id': 7301230, 'author': 'Kachwahed', 'author_id': 188311, 'author_profile': 'https://Stackoverflow.com/users/188311', 'pm_score': 2, 'selected': False, 'text': '<p>Zip and 7z with NO DLL, try out Synopse:\n<a href="http://synopse.info/forum/viewtopic.php?pid=163" rel="nofollow">http://synopse.info/forum/viewtopic.php?pid=163</a></p>\n'}, {'answer_id': 8392265, 'author': 'Marcus Adams', 'author_id': 168493, 'author_profile': 'https://Stackoverflow.com/users/168493', 'pm_score': 2, 'selected': False, 'text': '<p>Delphi now has native, cross platform zip support with TZipFile in XE2:</p>\n\n<p><a href="http://delphiwiki.com/extract-zip-files-in-delphi-and-firemonkey-with-tzipfile/" rel="noreferrer">How to extract zip files with TZipFile in Delphi XE2 and FireMonkey</a></p>\n'}, {'answer_id': 42602091, 'author': 'Tone Škoda', 'author_id': 3572009, 'author_profile': 'https://Stackoverflow.com/users/3572009', 'pm_score': 0, 'selected': False, 'text': '<p>I tried many solutions and had problems, this one worked.</p>\n\n<p>Download <a href="https://github.com/zedalaye/d7zip" rel="nofollow noreferrer">https://github.com/zedalaye/d7zip</a>\nCopy 7z.dll and sevenzip.pas to your project diroctory and add sevenzip.pas to your project.</p>\n\n<p>Then you can use this to unzip:</p>\n\n<pre><code>using sevenzip;\n\nprocedure Unzip7zFile (zipFullFname:string);\n  var\n    outDir:string;\n  begin\n    with CreateInArchive(CLSID_CFormat7z) do\n    begin  \n      OpenFile(zipFullFname);\n      outDir := ChangeFileExt(zipFullFname, \'\');\n      ForceDirectories (outDir);\n      ExtractTo(outDir);\n    end;\n  end;\n</code></pre>\n\n<p>Usage:</p>\n\n<pre><code>Unzip7zFile(ExtractFilePath(Application.ExeName) + \'STR_SI_FULL_1000420.7z\');\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/74521', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/11994/']