First of all, I'm not sure if I should be asking this here, or on stackoverflow. But, here will be my first shot, if it's not the right place, just tell me and I'll move the question elsewhere.
Ok, now the the problem itself.
I've developed a Qt5 app, and I'd like to see it running on the pi2. First of all I noticed that Ubuntu MATE 15.04 comes with Qt 4.8 by default, and it have qt5-base and qmake5 on it's apt-get repository. But when I tried to use it, I've ran into some dependency problems, and the qt5 ended up not beign installed at all.
I've found this tutorial to compile qt5 from scratch on rasp1 with raspbian, and this one to do the same on rasp2, but that can take a long while, and lots of things can go wrong, so if it's possible to just do an apt-get it'll be A LOT easier for me (and anyone else who might step into this same problem).
And I would also want to know if after it's compiled, if my program will be able to play hardware accelerated videos using QMediaPlayer
.
P.S.: Yes, I've bought the licenses to decode AVC-1 and MPEG in the hardware.
Edit: I've found this question talking about an Hardware accelerated VLC, it's slightly related to my problem, I guess.
Edit 2: Which packages would be enough to compile a Qt project that needs only the QtCore/QtBase and QtMultimedia?
Edit 3: I've followed the instructions on the answers and comments, using the Raspbian Jessie repository to install qt5. I've ran:
sudo apt-get update
sudo apt-get install qt5-default libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediawidgets5
And the package manager installed lots of dependencies along.
After that, I've tried to run qtconfig
but I got this error:
qtconfig: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qtconfig': No such file or directory
And after that, I tried to run qmake
on my project, and I got:
Project ERROR: Unknown module(s) in QT: multimediawidgets multimedia
Well, I feel a little lost here...
Edit 4: I've also found this question here. I guess this guy is having a similar problem.
Edit 5: Yupp, I'm not the only one with this problem. As you can see here.
qtconfig: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qtconfig': No such file or directory
and even if I've installedlibqt5multimedia5 libqt5multimediawidgets5 libqt5multimedia5-plugins
, when I try to run qmake on my project I get:Project ERROR: Unknown module(s) in QT: multimediawidgets multimedia
– Mauker May 18 '15 at 20:00