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

Which version of QT do I have to install? #18

Open
ufechner7 opened this issue Oct 13, 2023 · 4 comments
Open

Which version of QT do I have to install? #18

ufechner7 opened this issue Oct 13, 2023 · 4 comments

Comments

@ufechner7
Copy link
Member

For compiling this library the QT sources must be installed.

Which version of the QT sources is needed, and what is the best way to install them?

@ufechner7
Copy link
Member Author

This is what I do now:

git clone https://code.qt.io/qt/qt5.git qt6
cd qt6
git switch v6.5.2

@barche Is that the correct version?

@barche
Copy link
Collaborator

barche commented Oct 13, 2023

Which platform are you working on? For Windows, you can use the official installer, on Linux the distribution packaged and on Mac Homebrew. Note that you don't need the sources, just headers and compiled libraries. Recommended version is 6.5, but any version 6 should work.

@ufechner7
Copy link
Member Author

I am on Ubuntu 22.04. But I prefer to compile myself, then I can enable debug info for example, and I don't like the official installer... I checked it out and compiled it, now I only need to figure out how to set /path/to/qt ...

@barche
Copy link
Collaborator

barche commented Oct 13, 2023

Set the CMake variable CMAKE_PREFIX_PATH to the path that contains the Qt installation (the directory containing bin and lib and so on)

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