Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on Mac #55

Open
jondoesntgit opened this issue Jan 7, 2022 · 9 comments
Open

Installing on Mac #55

jondoesntgit opened this issue Jan 7, 2022 · 9 comments

Comments

@jondoesntgit
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@jfmcarreira
Copy link
Collaborator

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

@jfmcarreira jfmcarreira reopened this Feb 13, 2022
@jondoesntgit
Copy link
Author

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.

@jfmcarreira
Copy link
Collaborator

How did you install the dependencies

@jondoesntgit
Copy link
Author

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

@jfmcarreira
Copy link
Collaborator

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

@jondoesntgit
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants