|
2009-12-22
, 22:31
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#3
|
|
2009-12-22
, 22:35
|
Posts: 415 |
Thanked: 732 times |
Joined on Jan 2009
@ Finland
|
#4
|
|
2009-12-22
, 22:42
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#5
|
I'd guess the configure script uses "wrong" qmake since 4.6 qmake is in /opt/something (I don't remember the path to qmake). you might want to set 4.6 qmake as your default.
for info on setting the default Qt version see http://jpnurmi.kapsi.fi/blog/2008/03...ion-in-ubuntu/
|
2009-12-23
, 14:46
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#6
|
|
2009-12-30
, 07:35
|
Posts: 36 |
Thanked: 13 times |
Joined on Dec 2009
@ Bandung, Indonesia
|
#7
|
just got it progressed.
had to download libglui-dev( sudo apt-get libglui-dev ) and I couldnt do that in the scratchbox environment as my repository was not configured so I installed it in my main Ubuntu env and copied the libs/headers over to the scratchbox target.
errors didnt stop there, it later complained of not finding QtDBus headers ! while compiling the systemInfo module to QtMobility and the headers existed except the makefile didnt include it so I manually edited that to progress it.
now its failed again (attached screenshot) as Im writing, this time in mediacapture module, will post when im done buidling this.
again, did any one of you try this, and have succesfully built it ?
Im not sure if I have screwed up somewhere, it cant be that there are so many errors in a released version of QT or is there ?
g++ -c -pipe -g -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQMEDIA_GSTREAMER_PLAYER -DQMEDIA_GSTREAMER_CAPTURE -DQT_PLUGIN -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/include/QtCore -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/include/QtGui -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/include/QtMultimedia -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/include -I/targets/FREMANTLE_X86/opt/qtsdk-2009.05/qt/include/QtMedia_tp -I../../../src/global -I../../../src/multimedia -Imediaplayer -Imediacapture -I/targets/FREMANTLE_X86/opt/qt-mobility/include -I../../../build/Debug/gstengine/moc -o ../../../build/Debug/gstengine/qgstreamercapturesession.o mediacapture/qgstreamercapturesession.cpp
mediacapture/qgstreamercapturesession.cpp: In member function 'bool QGstreamerCaptureSession::rebuildGraph(QGstreamerC aptureSession::PipelineMode)':
mediacapture/qgstreamercapturesession.cpp:615: error: '_gst_debug_bin_to_dot_file' was not declared in this scope
mediacapture/qgstreamercapturesession.cpp: In member function 'void QGstreamerCaptureSession::dumpGraph(const QString&)':
mediacapture/qgstreamercapturesession.cpp:643: error: '_gst_debug_bin_to_dot_file' was not declared in this scope
make[3]: *** [../../../build/Debug/gstengine/qgstreamercapturesession.o] Error 1
make[3]: Leaving directory `/tmp/temp/qt-mobility-src-1.0.0-tp2/plugins/multimedia/gstreamer'
make[2]: *** [sub-gstreamer-make_default] Error 2
make[2]: Leaving directory `/tmp/temp/qt-mobility-src-1.0.0-tp2/plugins/multimedia'
make[1]: *** [sub-multimedia-make_default] Error 2
make[1]: Leaving directory `/tmp/temp/qt-mobility-src-1.0.0-tp2/plugins'
make: *** [sub-plugins-make_default-ordered] Error 2
The Following User Says Thank You to ceefour For This Useful Post: | ||
|
2009-12-30
, 08:17
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#8
|
Hi krk969,
Be happy :-) Someone just answered your prayers :-)
And I'm happy too because I just wrote the article that answers your question. What a coincidence. ;-)
I documented how to compile/install Qt Mobility on Linux here.
I'm on Ubuntu 9.10, which has some known issues with Qt Mobility 1.0 TP2.
Key points include:
- Downgrade to GCC/G++ 4.3
- Install Qt 4 dev dependencies and some dependencies of Qt Mobility implementation (network-manager etc.)
- Apply patch from Lorn Potter
I also shared the experience of running the Qt Quickstart App, not so impressive but at least it works as advertised. :-)
There's also issue with GDB 7.0 but I'm postponing this for later, until I have a real need for debugging.
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2009-12-30
, 11:17
|
Posts: 36 |
Thanked: 13 times |
Joined on Dec 2009
@ Bandung, Indonesia
|
#9
|
Has anybody been able to compile the QT mobility api libraries successfully on Linux(scratchbox FREMANTLE_X86) after installing the QT4.6 SDK binary ?
QT 4.6 SDK ==> http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp
|
2010-03-17
, 10:48
|
Posts: 36 |
Thanked: 13 times |
Joined on Dec 2009
@ Bandung, Indonesia
|
#10
|
The Following User Says Thank You to ceefour For This Useful Post: | ||
QT 4.6 SDK ==> http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp
QT Mobility API==> http://get.qt.nokia.com/qt/solutions...0.0-tp2.tar.gz
Ive been getting several compilation errors mainly missing headers, too many to even post here, can anyone list the steps if they did it sucessfully.
the output of the configure script and subsequently the make
has been attached.
thanks for any help.
Last edited by krk969; 2009-12-22 at 22:24.