JuliaGraphics / jlqml

C++ component of the QML.jl package
Other
9 stars 4 forks source link

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

Open ufechner7 opened 1 year ago

ufechner7 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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