<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">If I may suggest joining the KDE
      Windows channel on Matrix. You can discuss there with KDE
      developers who are familiar with compiling KDE software on
      Windows. <a class="moz-txt-link-freetext" href="https://go.kde.org/matrix/#/#kde-windows:kde.org">https://go.kde.org/matrix/#/#kde-windows:kde.org</a></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 19/2/24 13:05, Aaron Rainbolt wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:22a2ae8d-7d10-42b6-94f7-065b9469a06d@ubuntu.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Oof, I didn't realize you were on Windows. I have no clue how
        Qt and KDE development works there since I don't use Windows
        anymore. If you're trying to code an application for Windows
        specifically, you'll probably need help from someone who knows
        how KDE app development works on Windows.<br>
      </p>
      <div class="moz-cite-prefix">On 2/18/24 20:05, Eric Ribble wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:1026352603.3344973.1708308349215@mail.yahoo.com">
        <meta http-equiv="content-type"
          content="text/html; charset=UTF-8">
        <div class="ydp24cac6ffyahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">
          <div dir="ltr" data-setdir="false">Hi Aaron,</div>
          <div dir="ltr" data-setdir="false"><br>
          </div>
          <div dir="ltr" data-setdir="false">Thanks for the quick
            response.  Unfortunately, I am not familiar with distro or
            Ubuntu or Debian.  My laptop is running Windows 11.  A few
            weeks ago I download and installed Qt6 and have been able to
            build a few simple Qt Windows applications.  I studied your
            email, googled 'how to', etc., but finding it very difficult
            to simply download the KArchive library (KF6Archive (instead
            of KF5Archive)) and the "kzip.h" header file for usage with
            Qt6.</div>
          <div dir="ltr" data-setdir="false"><br>
          </div>
          <div dir="ltr" data-setdir="false">Any other suggestions?  Or
            do I need to figure out how to install/use Ubuntu on my
            Windows 11 laptop?</div>
          <div dir="ltr" data-setdir="false"><br>
          </div>
          <div dir="ltr" data-setdir="false">If you can't be of further
            help, I understand.</div>
          <div dir="ltr" data-setdir="false"><br>
          </div>
          <div dir="ltr" data-setdir="false">Eric</div>
          <div dir="ltr" data-setdir="false"> </div>
          <div><br>
          </div>
        </div>
        <div id="ydp630d156ayahoo_quoted_8500816915"
          class="ydp630d156ayahoo_quoted">
          <div
style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
            <div> On Sunday, February 18, 2024 at 06:38:43 PM EST, Aaron
              Rainbolt <a class="moz-txt-link-rfc2396E"
                href="mailto:arraybolt3@gmail.com"
                moz-do-not-send="true"><arraybolt3@gmail.com></a>
              wrote: </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div id="ydp630d156ayiv9396602012">
                <div>
                  <div class="ydp630d156ayiv9396602012moz-cite-prefix">On
                    2/18/24 13:30, Eric Ribble wrote:<br clear="none">
                  </div>
                  <blockquote type="cite"> </blockquote>
                </div>
                <div>
                  <div
style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"
                    class="ydp630d156ayiv9396602012yahoo-style-wrap">
                    <div dir="ltr">I am a new user of Qt (using version
                      6.6) and Qt Creator  I would like to use KArchive
                      to extract all folders and files from a zip file. 
                      I found the example
                      "karchive/examples/unzipper/main.cpp" source
                      code.  However, I don't know how to download and
                      install KArchive.</div>
                  </div>
                  <p>What distro are you using?</p>
                  <p>In order to install a library in such a way that
                    you can use it in new programs, you have to install
                    both it and its development header files. There are
                    generally two ways to do this:</p>
                  <p>* The easy way - install the development header
                    package for your library of choice through your
                    distro's package manager.<br clear="none">
                    * The hard, dangerous way that you probably don't
                    want yet - build the library from source and then
                    either install it directly or figure out how to
                    point your build system to it.</p>
                  <p>Obviously I'd recommend the former if you're just
                    getting started. On Ubuntu, the package you want is
                    called "libkf5archive-dev", and can be installed
                    with "sudo apt install libkf5archive-dev". This will
                    probably work on Debian too. If you're on some other
                    distro, you'll need to find and install the right
                    package.</p>
                  <div id="ydp630d156ayiv9396602012yqtfd55567"
                    class="ydp630d156ayiv9396602012yqt7248787808"><br
                      clear="none">
                  </div>
                  <div id="ydp630d156ayiv9396602012yqtfd20145"
                    class="ydp630d156ayiv9396602012yqt7248787808"> </div>
                  <blockquote type="cite">
                    <div id="ydp630d156ayiv9396602012yqtfd75942"
                      class="ydp630d156ayiv9396602012yqt7248787808"> </div>
                    <div
style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"
                      class="ydp630d156ayiv9396602012yahoo-style-wrap">
                      <div id="ydp630d156ayiv9396602012yqtfd15045"
                        class="ydp630d156ayiv9396602012yqt7248787808">
                        <div dir="ltr">I added the following to my
                          project's "CMakeLists.txt" as described on the
                          web page <a shape="rect"
href="https://marketplace.qt.io/pages/karchiveinstructionspage"
class="ydp630d156ayiv9396602012moz-txt-link-freetext moz-txt-link-freetext"
                            rel="nofollow" target="_blank"
                            moz-do-not-send="true">https://marketplace.qt.io/pages/karchiveinstructionspage</a> :</div>
                        <div><br clear="none">
                        </div>
                        <div>find_package(KF5Archive)<br clear="none">
                        </div>
                        <div dir="ltr">
                          <div>
                            <div>target_link_libraries(Example4
                              <a class="moz-txt-link-freetext" href="KF5::Archive">KF5::Archive</a>)</div>
                            <div><br clear="none">
                            </div>
                          </div>
                          Attached is my "CMakeLists.txt" file and
                          "Main.cpp" file.</div>
                        <div dir="ltr"><br clear="none">
                        </div>
                        <div dir="ltr">In my "Main.cpp" the
                          syntax-checker indicates that it can't find
                          "kzip.h" (probably because I don't know how to
                          download/install it).</div>
                        <div dir="ltr"><br clear="none">
                        </div>
                        <div dir="ltr">Here is a screenshot after trying
                          to build:</div>
                        <div dir="ltr"><br clear="none">
                        </div>
                        <div dir="ltr"><img title="Inline image"
                            alt="Inline image" src=""
                            style="max-width:800px;width:100%;"
class="ydp630d156ayiv9396602012yahoo-inline-image"
                            data-inlineimagemanipulating="true"
                            moz-do-not-send="true"></div>
                        <div dir="ltr"><br clear="none">
                        </div>
                        <div dir="ltr">Please advise on how to properly
                          download/install KArchive so that this simple
                          program will build.  Thanks for your help!</div>
                        <div dir="ltr"><br clear="none">
                        </div>
                        <div dir="ltr">Eric Ribble</div>
                      </div>
                      <div dir="ltr"><br clear="none">
                        <span></span><br clear="none">
                      </div>
                    </div>
                  </blockquote>
                  <pre class="ydp630d156ayiv9396602012moz-signature">-- 
Aaron Rainbolt
Lubuntu Developer
Matrix: @<a class="moz-txt-link-freetext" href="arraybolt3:matrix.org">arraybolt3:matrix.org</a>
IRC: arraybolt3 on irc.libera.chat
GitHub: <a shape="rect" href="https://github.com/ArrayBolt3"
class="ydp630d156ayiv9396602012moz-txt-link-freetext moz-txt-link-freetext"
                  rel="nofollow" target="_blank" moz-do-not-send="true">https://github.com/ArrayBolt3</a></pre>
                  <div id="ydp630d156ayiv9396602012yqtfd05126"
                    class="ydp630d156ayiv9396602012yqt7248787808"> </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
Aaron Rainbolt
Lubuntu Developer
Matrix: @<a class="moz-txt-link-freetext" href="arraybolt3:matrix.org">arraybolt3:matrix.org</a>
IRC: arraybolt3 on irc.libera.chat
GitHub: <a class="moz-txt-link-freetext"
      href="https://github.com/ArrayBolt3" moz-do-not-send="true">https://github.com/ArrayBolt3</a></pre>
    </blockquote>
  </body>
</html>