What steps will reproduce the problem? 1. hg clone -b permaroute https://code.google.com/p/monav/ 2. cd monav 3. for i in *.pro; do qmake -o $i.makefile $i; done 4. make -f monavclient.pro.makefile
What is the expected output?
Build does not stop.
What do you see instead?
... g++ -c -m64 -pipe -O3 -Wno-unused-function -Wall -W -D_REENTRANT -DQT_WEBKIT -DNOQTMOBILE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I.. -I. -I. -o mapdata.o mapdata.cpp g++ -c -m64 -pipe -O3 -Wno-unused-function -Wall -W -D_REENTRANT -DQT_WEBKIT -DNOQTMOBILE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I.. -I. -I. -o routinglogic.o routinglogic.cpp In file included from routinglogic.cpp:35:0: audio.h:27:24: fatal error: QtMultimedia: No such file or directory compilation terminated. make[1]: * [routinglogic.o] Error 1 make[1]: Leaving directory `/home/lindi/scm/monav/client' make: * [sub-client-make_default] Error 2
What version of the product are you using? On what operating system?
changeset: 559:6c760c6d093f
Debian unstable amd64
Please provide any additional information below.
/usr/include/qt4/Qt/QtMultimedia is part of libqt4-dev package in debian stable but not in unstable anymore.
Comment #1
Posted on Jun 20, 2012 by Happy LionJust guessing. Maybe the following changelog entry from debian is relevant?
qt4-x11 (4:4.7.0~beta2-1) experimental; urgency=low
- New upstream release.
- Remove Qt Multimedia, Qt MediaServices and Qt WebKit packages.
- Remove Debian patches:
- 81_hurd_architecture.diff - merged upstream.
- 97_alpha_ftbfs_qatomic_alpha_h_types.diff - merged upstream.
- Update debian/control:
- bump Standards-Version to 3.9.0.
- remove libqt4-declarative-widgets package.
- add libqt4-declarative-folderlistmodel package.
- add libqt4-declarative-gestures package.
- add libqt4-webkit dummy transitional package for the libqtwebkit4 package.
- Update debian/rules:
- replace -multimedia by -no-multimedia configure option.
- replace -webkit by -no-webkit configure option.
- remove leftover directories in override_dh_auto_install target.
- Update installed files.
- Update symbols files.
Update debian/copyright: include files licensed under a BSD-style license.
-- Fathi Boudra Thu, 08 Jul 2010 16:59:50 +0300
Comment #2
Posted on Jun 23, 2012 by Massive DogI had the same problem about three months ago on Ubuntu (as far as I know they just use the Debian packages).
I remember there was some change in Qt 4.8, where the Qt Multimedia part was moved to some other place, but Debian/Ubuntu didn't seem to have packaged that yet. See http://labs.qt.nokia.com/2010/05/06/qt-47-scope-change-regarding-qt-multimedia/
The only way I got it to compile is by manually removing all references to Qt Multimedia.
Comment #3
Posted on Jun 23, 2012 by Happy LionOk but then you don't get audio? I'm testing the "permaroute" branch specifically because I want to test the new audio code.
Comment #4
Posted on Jul 22, 2012 by Helpful LionIt should probably be migrated to Qt Mobility's QtMultimediaKit - http://doc.qt.nokia.com/qtmobility-1.2/multimedia.html. Qt Multimedia never got released as part of Qt.
Both are quite high level API:s, so maybe the migration would be relatively small effort.
Comment #5
Posted on Jul 22, 2012 by Helpful Lion(Debian source package qtmobility, binary packages libqtmultimediakit1 and qtmobility-dev)
Comment #6
Posted on Sep 13, 2012 by Happy LionI finally figured out how to build monav. See the attached three patches.
Comment #7
Posted on Sep 13, 2012 by Happy LionOne more patch
Status: New
Labels:
Type-Defect
Priority-Medium