Downloading Samples
-
What Qt version do you have?
-
Qt 4.8
-
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
@
./exampleProgram
@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. -
Hi,
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.