Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtOfficeOpenXml on MacOS
Forum Updated to NodeBB v4.3 + New Features

QtOfficeOpenXml on MacOS

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 627 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ModelTechM Offline
    ModelTechM Offline
    ModelTech
    wrote on last edited by
    #1

    Has anybody ever tried to get the QtOfficeOpenXML package from here compiled on MacOS?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Not that i have seen.
      Besides perl, seems to have no external dependencies so
      should be semi easy to get compiling ?
      Do you get errors?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Two things to fix:

        • One code error
        • One missing library

        Otherwise it builds.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • ModelTechM Offline
          ModelTechM Offline
          ModelTech
          wrote on last edited by
          #4

          I have been able to get it working on Windows and Linux. On Mac, I get a linking error, see below.
          @SGaist: you talk about a missing library. Could that be the problem here? If so, where can I get it from and how do I install it?

          Undefined symbols for architecture x86_64:
            "_crc32", referenced from:
                KGzipFilter::writeHeader(QByteArray const&) in kgzipfilter.o
                KGzipFilter::compress_(bool) in kgzipfilter.o
                KZip::closeArchive() in kzip.o
                KZip::writeData(char const*, long long) in kzip.o
            "_deflate", referenced from:
                KGzipFilter::compress_(bool) in kgzipfilter.o
            "_deflateEnd", referenced from:
                KGzipFilter::terminate() in kgzipfilter.o
            "_deflateInit2_", referenced from:
                KGzipFilter::init(int, KGzipFilter::Flag) in kgzipfilter.o
            "_deflateReset", referenced from:
                KGzipFilter::reset() in kgzipfilter.o
            "_inflate", referenced from:
                KGzipFilter::uncompress_() in kgzipfilter.o
            "_inflateEnd", referenced from:
                KGzipFilter::terminate() in kgzipfilter.o
            "_inflateInit2_", referenced from:
                KGzipFilter::init(int, KGzipFilter::Flag) in kgzipfilter.o
            "_inflateReset", referenced from:
                KGzipFilter::reset() in kgzipfilter.o
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Nothing to get, it's the zlib symbol that are missing and its already available in the system.

            Edit the karchive.pri file and add macos: LIBS += -lz

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            3
            • ModelTechM Offline
              ModelTechM Offline
              ModelTech
              wrote on last edited by ModelTech
              #6

              Thanks, now I remember that I also had to do something there for Windows. This solved it :)

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved