make Error -----------help help help
QMake version 2.01a
Using Qt version 4.5.1 in /usr/local/Trolltech/QtEmbedded-4.5.1/lib
[ 45%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QAccessiblePlugin.o
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QAccessibleTableInterface.o
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QAccessibleWidget.o
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QAccessibleWidget.cpp:53: warning: ‘QScriptValue qtscript_QAccessibleWidget_prototype_call(QScriptContext*, QScriptEngine*)’ defined but not used
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QAccessibleWidgetEx.o
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QAccessibleWidgetEx.cpp:53: warning: ‘QScriptValue qtscript_QAccessibleWidgetEx_prototype_call(QScriptContext*, QScriptEngine*)’ defined but not used
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QAction.o
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QActionEvent.o
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QActionGroup.o
[ 46%] Building CXX object scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QApplication.o
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QApplication.cpp: In function ‘QScriptValue qtscript_QApplication_prototype_call(QScriptContext*, QScriptEngine*)’:
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QApplication.cpp:352: error: ‘class QApplication’ has no member named ‘isSessionRestored’
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QApplication.cpp:359: error: ‘class QApplication’ has no member named ‘sessionId’
/home/user/mscore-0.9.4/mscore/scriptgen/qtbindings/gui/qtscript_QApplication.cpp:366: error: ‘class QApplication’ has no member named ‘sessionKey’
make[3]: *** [scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/qtscript_QApplication.o] Error 1
make[3]: Leaving directory `/home/user/mscore-0.9.4/build'
make[2]: *** [scriptgen/qtbindings/gui/CMakeFiles/qtscript_gui.dir/all] Error 2
make[2]: Leaving directory `/home/user/mscore-0.9.4/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/mscore-0.9.4/build'
make: *** [release] Error 2
root@Admini:/home/user/mscore-0.9.4#
what wrong???
Comments
Musescore 0.9.4 uses Qt 4.4. If you want to build with Qt 4.5 then use the version from SVN trunk
In reply to Musescore 0.9.4 uses Qt 4.4. by David Bolton
sorry,I accept your proposal ,Using qt-embedded-linux-opensource-src-4.4.3 ,but,There are still errors。
And the same as the previous error。
I think that the No problem with “QT”. so I do`t know What else can I do ??
Do you have other suggestions? Thanks
In reply to sorry,I accept your proposal by moper874
I think the plugins are disabled for MuseScore 0.9.4 on Linux. Instructions are in the developer's handbook. See [[nodetitle:Compile instructions (Ubuntu)]] . (Plugins are possible with the prereleases of MuseScore on Linux using Qt 4.5)
In reply to I think the plugins are by David Bolton
First of all, once again thank you for your answer。
In accordance with the above method,if I Set Environment Variable “qt-x11-opensource-src-4.4.3” build successfully。 but,I need to use“qt-embedded-linux-opensource-src-4.4.3”,Run on ARM 9 (QVFB)。
“-- Looking for Q_WS_QWS - found ”
“ Found Qt-Version 4.4.3”
Cmake version:2.6
QT version : qt-embedded-linux-opensource-src-4.4.3
QMake:2.01a
Using Qt version 4.4.3 in /usr/local/Trolltech/QtEmbedded-4.4.3/lib
OS: Ubuntu 9.04
ALSA:1.0.20
//----------------------------------------------------------------------------------------------------
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - found /usr/bin/dot
found Doxygen
-- latex command LATEX_COMPILER not found but usually required. You will probably get warnings and user inetraction on doxy run.
-- makeindex command MAKEINDEX_COMPILER not found but usually required.
-- dvips command DVIPS_CONVERTER not found but usually required.
-- configured /home/user/mscore-0.9.4/mscore/Doxyfile.in --> /home/user/mscore-0.9.4/build/Doxyfile
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.3
Qt lib found at /usr/local/Trolltech/QtEmbedded-4.4.3/lib
Alsa detected.
Jack detected
portaudio detected
-- Configuring done
CMake Warning (dev) at mscore/CMakeLists.txt:112 (add_executable):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "mscore" links to some libraries for which the linker must
search:
-lasound, -ljack -lpthread -lrt, -lportaudio -lm -lpthread, -lasound
-ljack -lpthread -lrt, -lportaudio -lm -lpthread
and other libraries with known full path:
/home/user/mscore-0.9.4/build/scriptdebug/libqtscript_debug.a
/usr/local/Trolltech/QtEmbedded-4.4.3/lib/libQtDesigner.so
/home/user/mscore-0.9.4/build/awl/libawl.a
/home/user/mscore-0.9.4/build/osdabzip/libosdabzip.a
/home/user/mscore-0.9.4/build/rtf2html/librtf2html.a
/home/user/mscore-0.9.4/build/fluid/libfluid.a
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/user/mscore-0.9.4/build
make[1]: Entering directory `/home/user/mscore-0.9.4/build'
make[2]: Entering directory `/home/user/mscore-0.9.4/build'
make[3]: Entering directory `/home/user/mscore-0.9.4/build'
make[4]: Entering directory `/home/user/mscore-0.9.4/build'
Scanning dependencies of target lupdate
//----------------------------------------------------------------------------------------------------
I would like to ask,Mscore 0.94 does not support embedded? Or where I am wrong?
In reply to First of all, once again by moper874
As far as I know you are the first one trying to build with Qt/Embedded (moreover on ARM). Musescore development is done on Intel platform with the real Qt package not the embedded one. I have no experience with Qt/Embedded myself. Do you know if the API is compatible with Qt 'full' ? May I ask on which device you plan to run musescore ?
If you want to keep on this track, I suggest getting the last musescore source from the SVN and try with Qt4.5 for embedded linux. We'll try to support you.
Btw, Cmake 2.6 is required as well.
I'm missing the point why you wish to build MuseScore 0.9.4. The current HEAD is much more stable but requires QT 4.5.