Play music with qt 5
-
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
-
Then you should consider using QtGStreamer
-
Then you should consider using QtGStreamer
-
i need write and read data of text
i want to create an application that save location of songs.
and other application for read this information to play the song ...someone can i help me with some information ... i readed about csv files but how i can write and read this files ..or there are some better way to do this -
i need write and read data of text
i want to create an application that save location of songs.
and other application for read this information to play the song ...someone can i help me with some information ... i readed about csv files but how i can write and read this files ..or there are some better way to do this -
You already have answers "here":https://qt-project.org/forums/viewthread/52623/
-
You already have answers "here":https://qt-project.org/forums/viewthread/52623/