Play music with qt 5
-
What do you mean by you can't use it correctly ?
What did you try ?
-
[quote author="paul_espinosa" date="1410551827"]i try with QDir
but i can not use it correctly
do you help me with the specific code to use QDir please [/quote]Hi paul_espinosa
if you want to get file(s) of a directory use from
@
QDir myDir(/ur directory path/);
QStringList FNames=myDir.entryList(QDir::Files);
@ -
Thank you for your help. I can build my project, but now I need to control my UI from internet from smarphone .. how could do that ??
-
Implement a web service that will talk to your player
-
some tutorial or example to implement a web service???
-
"Tufao":https://github.com/vinipsmaker/tufao is a Qt based web-framework and it has some examples.
-
hello my dears friends i have a new problem :( ..i have an aplication of play music on QT ,My application works well in mi pc ...
now my problem
i am working whith raspberry pi b+ and i can compilate my aplicacion in the raspberry but not play music :(
am instaled qt5 on raspberry ...do i need to install some more ???
some aplication of qt run very well ..but the music not play -
hello my dears friends i have a new problem :( ..i have an aplication of play music on QT ,My application works well in mi pc ...
now my problem
i am working whith raspberry pi b+ and i can compilate my aplicacion in the raspberry but not play music :(
am instaled qt5 on raspberry ...do i need to install some more ???
some aplication of qt run very well ..but the music not play -
Do you have any error message ?
-
Do you have any error message ?
-
un the terminal apear this
GLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
This plugin does not support propagateSizeHints() -
un the terminal apear this
GLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
This plugin does not support propagateSizeHints() -
Do it again but for define QT_DEBUG_PLUGINS=1
-
Do it again but for define QT_DEBUG_PLUGINS=1
-
i need compilated again qt with QT_DEBUG_PLUGINS=1???
other question now i am triying with gstreamer but i installed precompiled version ...of this page
i run some examples in the console but i need to add to qt 4 ...to play misic with gstreamer
my file.pro
INCLUDE PATH += /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
LIBS += -L/ /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
LIBS += -lglib-2.0 -lpthread -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrtand in the main.cpp
#include <gst/gst.h>but show this error gst/gst.h no such file or directory
how i can writhe or use correctly this libs ????i need play mp3 in my raspberry in an aplicacion
-
i need compilated again qt with QT_DEBUG_PLUGINS=1???
other question now i am triying with gstreamer but i installed precompiled version ...of this page
i run some examples in the console but i need to add to qt 4 ...to play misic with gstreamer
my file.pro
INCLUDE PATH += /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
LIBS += -L/ /usr/lib/arm-linux-gnueabiht/gstreamer-1.0
LIBS += -lglib-2.0 -lpthread -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrtand in the main.cpp
#include <gst/gst.h>but show this error gst/gst.h no such file or directory
how i can writhe or use correctly this libs ????i need play mp3 in my raspberry in an aplicacion
-
No, it's an environment variable.
Install the dev package first
-
No, it's an environment variable.
Install the dev package first
-
thank i can compilate the libs
now i need help or some tutorial to play mp3 with gsstreamer
-
thank i can compilate the libs
now i need help or some tutorial to play mp3 with gsstreamer