Page 1 of 1

Probems Qt versions

Posted: Fri May 21, 2021 11:40 am
by jdiaz
Hi all,
I'm trying to install GeopSy in a Ubuntu machine, but got problems of compatibility qith Qt. I've conda settings in the computer, and I think this is the base of the problem.

a) Installing geopsy within a Conda environment:
Conda seems to support only Qt 5.9, a version that does not allow to compile Geopsy

b) Installing Geopsy from outside Condas:
the configure script does not found the new Qt version (bin, libs, exec) and build Makefiles pointing to older Qt versions within the Anaconda directories

Any clue on how to go on ??

Re: Probems Qt versions

Posted: Fri May 21, 2021 1:02 pm
by jdiaz
In the meanwhile I've solved (I think) the path to use Qt5.15 in buiding Geopsy. Still, I got this errors in
QGpGuiMath/src/ImageLayer.cpp


src/ImageLayer.cpp: In member function ‘QRgb* QGpGuiMath::ImageLayer::image(int&)’:
src/ImageLayer.cpp:309:18: error: ‘class QImage’ has no member named ‘sizeInBytes’
n=_trueImage.sizeInBytes() >> 2;
^~~~~~~~~~~
src/ImageLayer.cpp: In member function ‘void QGpGuiMath::ImageLayer::grayFilter(int, int)’:
src/ImageLayer.cpp:319:22: error: ‘class QImage’ has no member named ‘sizeInBytes’
int n=_trueImage.sizeInBytes() >> 2;
^~~~~~~~~~~
src/ImageLayer.cpp: In member function ‘void QGpGuiMath::ImageLayer::lowPassFilter(int, int, int)’:
src/ImageLayer.cpp:338:22: error: ‘class QImage’ has no member named ‘sizeInBytes’
int n=_trueImage.sizeInBytes() >> 2;
^~~~~~~~~~~
src/ImageLayer.cpp: In member function ‘void QGpGuiMath::ImageLayer::highPassFilter(int, int, int)’:
src/ImageLayer.cpp:357:22: error: ‘class QImage’ has no member named ‘sizeInBytes’
int n=_trueImage.sizeInBytes() >> 2;
^~~~~~~~~~~
src/ImageLayer.cpp: In member function ‘void QGpGuiMath::ImageLayer::redPassFilter()’:
src/ImageLayer.cpp:376:22: error: ‘class QImage’ has no member named ‘sizeInBytes’
int n=_trueImage.sizeInBytes() >> 2;

Re: Probems Qt versions

Posted: Fri May 21, 2021 2:02 pm
by jdiaz
Sorry guys !! Just with a coupple of "make clean" problems dissapeared and the compilation was succesfull

Re: Probems Qt versions

Posted: Sat May 22, 2021 6:59 pm
by admin
Great, describing the problem to others usually helps to solve the problem, like a psychotherapy :)