Add qt version check in cmake

• Mar 26, 2015 - 02:24
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Apparently it's necessary to have qt 5.4 to compilehttp://musescore.org/en/developers-handbook/compilation/compile-instruc…. It'd be good to check that in `cmake` and make it fail rather than start a compilation which is destined to fail.


Comments

I was just relying on your [own compile instructions][1] ("UPDATE: It is now necessary to install Qt5.4 (or later)"). If that's not the case I'll investigate further because a lot of `cmake` tests don't seem to fail properly in my case (see #52641: Handle error "You must build your code with position independent code if Qt was built with -reduce-relocations. " in cmake[1] as well).

Open an issue for adjusting the compile instructions?

[1]:http://musescore.org/en/developers-handbook/compilation/compile-instruc…
[2]:http://musescore.org/en/node/52641