Probems Qt versions

Post in this forum any question related to the installation on any of the supported platforms (Linux, Mac OS X, Windows)
Post Reply
jdiaz
Posts: 3
Joined: Thu May 20, 2021 9:10 am

Probems Qt versions

Post 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 ??
jdiaz
Posts: 3
Joined: Thu May 20, 2021 9:10 am

Re: Probems Qt versions

Post 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;
jdiaz
Posts: 3
Joined: Thu May 20, 2021 9:10 am

Re: Probems Qt versions

Post by jdiaz »

Sorry guys !! Just with a coupple of "make clean" problems dissapeared and the compilation was succesfull
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: Probems Qt versions

Post by admin »

Great, describing the problem to others usually helps to solve the problem, like a psychotherapy :)
Post Reply