Compilation dependencies missing

• Jan 6, 2014 - 15:18

I am trying to compile the current source for musescore on a new machine and this is the first compile I have attempted it with QT5. I get a couple of errors. First a whole string of these from the CMakeLists.txt files in a variety of directories:

CMake Error in manual/CMakeLists.txt:
Imported target "Qt5::Core" includes non-existent path

"/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64"

in its INTERFACE_INCLUDE_DIRECTORIES.

When I check, there is no mkspecs directory in that path. I am sure I must be missing a package that is needed to make this work. Can anyone tell me what package is missing? I am running Ubuntu 13.10 64 bit.

Then after that batch of errors I hit this.

/home/brian/MuseScore/build.release/all.h:35:20: fatal error: QWebView: No such file or directory
#include
^
compilation terminated.

Is this something else I am missing? Might fixing the first string of errors help with this one?

Thanks in advance for any help.


Comments

In reply to by ChurchOrganist

I ran into all of the same problems but managed to fix them However, there still seems to be something missing from my QT install as the directory /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 is missing - specifically, from mkspecs down is not there. I am not sure what to do next. I hope someone can help.

In reply to by ChurchOrganist

Well, it turns out my report card will say 'does not follow directions'. (I occasionally run with scissors as well.) I was trying to make it work with QT5 installed directly from the Ubuntu 13.10 repositories. Once I decided to do as the instructions say and download QT directly from their site and install it, I was able to build successfully.

It is strange though because I was able to build with QT from the repositories when it still used QT4, but anyway, it is working now so I guess that is the important thing!

Do you still have an unanswered question? Please log in first to post your question.