[solved]Need a help in building (Qt5.1.1)qtmultimedia with gstreamer
-
[quote author="sakshi" date="1398969109"]my target is linux operating system. I dont have anything on the board. My targets file system is on my host. and i use telnet on the board to get root file system from the host.
You can copy the complete file system to the host and try building.
Before that make sure You have all the required packages installed on target file system. for example if you are stuck in multimedia audio it needs gstreamer, glib pulse audio etc.. so install all the dependencies on the file system and the copy it on the host.Or easier way copy qt source on your target. and install gcc related packages(which is required) and compile qt on the board. Which is exactly like compiling qt on the host. :)[/quote]
OK Thank you very much.
I'll try to install everything on my board (ubuntu 12.04) and copy that to my host PC.
And I think I would give 5.3.0 up because of the gstreamer option.
So let me confirm that,
now I need to run apt-get install on my target board to install all the package I need, and then I take copy the file system to my host, then in the path that I paste it, I untar the 5.1.1 package and copy the tool chain, then install the cross compiler according the blog right?
Thank you. -
yes... or the easier way copy your downloaded qt source on the target and compile :)
-
[quote author="sakshi" date="1398971770"]yes... or the easier way copy your downloaded qt source on the target and compile :)[/quote]
Hi I'm trying to build it now, and I'm at step four on your blog,
in qmake.conf, you wrote :ROOTFS=/tools/rootfs.
So /tools/rootfs is your directory of your file system right?
If I copyed my whole file system to the host in /home/myname/filesystem,
the my ROOTFS=/home/myname/filesystem right?
And in export command, the ${SYSROOT} is the same path right?
And these name need not to be the same as my target system right?
thank you. -
Hi sakshi:
I now am running the configure by ./config.imx6
when I tried to run it, I got:glib.cpp:44:18: fatal error: glib.h: No such file or directory
compilation terminated.
make: *** [glib.o] Error 1
Glib disabled.
Glib support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.But actually I did install the modules and libs that needed, And I can find glib.h in glib-2.0 directory under /usr/include.
And I've set the path PKG_CONFIG_SYSROOT_DIR, PKG_CONFIG_LIBDIR, and PKG_CONFIG_DIR like your blog, so did you meet this knid of problem before?
Thank you. -
1.did you install glib-dev (apt-get install glib-dev)?
2. Do you find glib-2.0.pc in your target file system? -
[quote author="sakshi" date="1399006803"]1.did you install glib-dev (apt-get install glib-dev)?
2. Do you find glib-2.0.pc in your target file system?[/quote]I installed libglib-2.0-dev.
And I didn't find glib-dev when I tried to search it.
And after installing that, I didn't find glib-2.0.pc in my /usr/include/pkgconfig.
So is there other dev I need to get that .pc file?
Thank you.
Sorry for troubling you with so many questions. -
i meant libglib-2.0-dev only.
just try to uninstall and install glib. May be it got missed during process.
******.pc is a package config file. if *.pc of any package is missing then you cannot enable the perticular package. -
[quote author="sakshi" date="1399052319"]i meant libglib-2.0-dev only.
just try to uninstall and install glib. May be it got missed during process.
******.pc is a package config file. if *.pc of any package is missing then you cannot enable the perticular package.[/quote]OK, I'm trying on it.
And about the qtmultimedia module, in 5.3.0 version, I make the module inside the ../qtmultimedia directory, and after that, I copied the .pri files to the modules and modules-inst folder in /qtbase/mkspecs/modules && modules-inst.
Is your process the same?
Thank you. -
No. With libglib-2.0-dev it shud have installed glib-2.0.pc. do
$cd /
$find ./ -name glib-2.0.pc -
[quote author="sakshi" date="1399295058"]No. With libglib-2.0-dev it shud have installed glib-2.0.pc. do
$cd /
$find ./ -name glib-2.0.pc [/quote]My system does have glib-2.0 directory, it came with the orginal system, but there's no glib-2.0.pc with it.
So I will unstall it and reinstall it.
Thank you for your help.
And is it possible to know what kind of developing board you're using now? My board is UDOO, so far there are not much resources about it.And one more question, about this website:
https://community.freescale.com/docs/DOC-96390
Did you install LTIB like the website requires?
Thank you. -
about board mine is freescale imx6. after that i dont have any information about it.
Yes i have installed ltib. -
i meant libglib-2.0-dev. when you install libglib-2.0-dev it would have installed glib-2.0.pc. if it is not there in your entire file system then there is something wrong with your installation process.
Sorry for the late reply. -
is there a complete documentation on how to setup qtmultimedia for imx6qsabresd board? I was able to setup qt creator with the entire kit for the board and get a helloworld running, but I am assuming, I need to recompile everything to get qtmultimedia added again. Please point me in the right direction.