ktikz icon indicating copy to clipboard operation
ktikz copied to clipboard

Installing on Mac

Open jondoesntgit opened this issue 3 years ago • 9 comments

I got the error

Project ERROR: Could not resolve SDK path for 'macosx11.6'

I used xcodebuild -sdk -version to figure out what SDK was installed (macosx11.3 in my case), and added QMAKE_MAC_SDK = macosx11.3 to qtikz.pro.

jondoesntgit avatar Jan 07 '22 00:01 jondoesntgit

Furthermore, installing poppler-qt5 with brew, and then copying all the header files in /usr/local/include/poppler/qt5 into the folder you run "make" in seemed to help

jondoesntgit avatar Jan 07 '22 01:01 jondoesntgit

Then in your Makefile, make sure that you get this into your LIBS variable somehow:

LIBS = $(SUBLIBS) -L/usr/local/lib -lpoppler-qt5 -lstdc++ [... the rest of the libs]

jondoesntgit avatar Jan 07 '22 01:01 jondoesntgit

After this... you're on your own. I was able to compile the function, by the dynamic libraries weren't finding the correct resources...

jondoesntgit avatar Jan 07 '22 01:01 jondoesntgit

Was you able to install this on Mac? Or at least build it from source?

jfmcarreira avatar Feb 13 '22 22:02 jfmcarreira

I was not able to install fully on a Mac. I was able to build it from the source, but the build was not correct. Whenever I would attempt to open the application, it would crash because the dynamic libraries were not finding the correct resources.

jondoesntgit avatar Feb 14 '22 17:02 jondoesntgit

How did you install the dependencies

jfmcarreira avatar Feb 14 '22 18:02 jfmcarreira

I installed poppler-qt5 with brew. Which other dependencies were you wondering abaout?

jondoesntgit avatar Feb 15 '22 21:02 jondoesntgit

I think that is just the one. Was qmake able to find it?

jfmcarreira avatar Feb 16 '22 00:02 jfmcarreira

Furthermore, installing poppler-qt5 with brew, and then copying all the header files in /usr/local/include/poppler/qt5 into the folder you run "make" in seemed to help

I didn't have the IQ points to figure out how to add this to make's path, so I just copied the header files into the local directory that I ran make in.

jondoesntgit avatar Feb 16 '22 00:02 jondoesntgit