CMake Error with Invalid Qt version string given

I am currently having problems with https://build.opensuse.org/package/show?package=molsketch&project=home%3AMailaender

CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:514 (MESSAGE):
Invalid Qt version string given: “4.5.0”, major version 4 is required, e.g.
“4.0.1”
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:420 (find_package)
/usr/share/cmake/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:75 (find_package)

But I don’t get it:

– Found Qt4: /usr/bin/qmake (found suitable version “4.7.4”, required is “4.5.0”)

so everything should be fine.

Hi
Here is a cmake bug that should help sort it;
http://www.cmake.org/Bug/view.php?id=12352


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.19-default
up 17:16, 3 users, load average: 0.00, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

So I have to wait until this is fixed?

Hi
I would jump on IRC channel #opensuse-kde or #opensuse-buildservice to
see if there is a possible fix already available. Don’t forget to quote
the two bug numbers.

There is also the Mailing Lists as well;
http://en.opensuse.org/Communicate


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.19-default
up 1 day 8:10, 3 users, load average: 0.10, 0.09, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

The fix was to remove the “Qt Version” in CMakeLists.txt or remove it together with “Qt required” completely as KDE was also required in the CMakeLists.txt and has Qt as it’s dependency.