I am using Linux Mint 22.2 as my main OS. The version of QT available there is 6.4.2.
For the cure of an irritating bug (disappearing spaces upon importing ODT files), I would need to compile Scribus with QT greater than 6.5.
I installed the latest version available, which is 6.10.1 in my own home directory. qmake reports:
~/Qt/6.10.1/gcc_64/bin$ ./qmake -v
QMake version 3.1
Using Qt version 6.10.1 in /home/s/Qt/6.10.1/gcc_64/lib
Compilation works, after installing quite some dependencies, Scribus runs nicely, but the resulting version is still using QT 6.4.2.
I enclose the invocation line I was using:
cmake -DCMAKE_PREFIX_PATH=/home/s/Qt/6.10.1/gcc_64/bin/ -DCMAKE_INSTALL_PREFIX:PATH=/home/s/bin/scribus-custom -DWANT_GUI_LANG="en_US" ..
Obviously, I am doing something wrong! I would appreciate enormously a bit of a good advice, so want to thank in advance for word of support.
With best regards, S.
Hi
You want to set the Qt Path with -DQT_PREFIX="/path/to/Qt" and I don't think you want to include the lib at the end of the path
Craig
I did those amendments and found after that in my QT installation this was not installed by default:
"Failed to find required Qt component "Core5Compat""
After the addition via maintenance for QT Scribus compiled just fine, taking in QT version 6.10.1 as desired. Thank you very much!