I just wanted to experiment with the Camera example here:
and the Video widget example here:
I can't find any place to download.
Are they downloadable? Or we just get the text of the programs?
Did you have a look at your Qt installation directory? Normally they should be there.
How did you install Qt?
I installed it through ubuntu store. It doesn't come with QtMultimedia.
Ok, now I had to download it through sudo apt-get install command for QtMobility..
I got the examples. But the executables don't do anything.
What Qt version do you have?
What do you mean by: don't do anything, you should see something in the compiler / application ouput panes when you hit the run button from Qt Creator.
I opened an executable..where all the downloaded examples were..and not within the IDE. It did nothing.
They are not visible through Qt.
did you try
from the console?
(exampleProgram should be replaced with the name of the example you want to run.)
./camera: error while loading shared libraries: libQtMultimediaKit.so.1: wrong ELF class: ELFCLASS64
are you able to run another example ? (not qtmultimedia)
If your goal is to experiment with the examples I advice to do that using Qt Creator. There you will have more feedback from the system, you can debug and so on.
Yes the other examples are running this way. Is there any installation problem?
I installed them using sudo apt-get install qtmobility-examples..
And I am trying to do it in At side by side..just wanted to experiment with premade samples.
If you are starting with Qt, I recommend using Qt 5. Qt 4.8 is rather old.
Also, Ubuntu modified the Qt 4.8 packages (which I think caused more trouble than it's worth). The Qt 4.8 packages in the Ubuntu repository are different from standard packages.
JKSH is right.
I used to install the Qt package from Ubuntu to get the dependences right. Then i downloaded the installation packages from the Qt site, see download link on top of this page.
That way you can experiment with the latest toys. ;-)
Year..ubuntu's qtmobility is a little messed up..thanks for your help.. :)
I am thinking of incorporating opencv for the same now.