cplusplusqt | Unsorted

Telegram-канал cplusplusqt - C++ & Qt

1220

Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions

Subscribe to a channel

C++ & Qt

And call mediaplayer.Avalaiblemetadata()

Читать полностью…

C++ & Qt

The signal should be media loaded

Читать полностью…

C++ & Qt

to be honest, it would be cool if developers at qt supported this

Читать полностью…

C++ & Qt

icycast/shoutcast gives metadata after every x bytes (to find x you must pass Icy-MetaData: 1 header with the network request and in the response read header Icy-MetaInt)

Читать полностью…

C++ & Qt

python pyside project press start and give this error

Читать полностью…

C++ & Qt

expected something different because metaData() always returns an empty metadata object

Читать полностью…

C++ & Qt

and how do I do that?

Читать полностью…

C++ & Qt

Not doing all at once

Читать полностью…

C++ & Qt

You do not need a request for that

Читать полностью…

C++ & Qt

or do I do setSource(QUrl) and then a ->get(requestWithTheSameUrl) to get the metadata (which is literally inside the audio)?

Читать полностью…

C++ & Qt

hi guys qt support chromebook??

Читать полностью…

C++ & Qt

hi guys qt support chromebook?

Читать полностью…

C++ & Qt

Hi. Where is a place where in RHI QQuickItem::z is applied if backend is Vulkan?

Читать полностью…

C++ & Qt

The actual issue that Qt doesn't work well with touch devices

Читать полностью…

C++ & Qt

I tested but it didn't work

Читать полностью…

C++ & Qt

Does the media play?

Читать полностью…

C++ & Qt

#include <QAudioDevice>
#include <QAudioOutput>
#include <QCoreApplication>
#include <QFile>
#include <QMediaDevices>
#include <QMediaMetaData>
#include <QMediaPlayer>

int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);

QMediaPlayer *mediaPlayer = new QMediaPlayer;
QAudioOutput *audioOutput = new QAudioOutput(QMediaDevices::defaultAudioOutput());

mediaPlayer->setSource(
QUrl("https://scdn.nrjaudio.fm/adwz1/fr/30079/"
"mp3_128.mp3?origine=radiogarden&listening-from-radio-garden=1673884209"));
mediaPlayer->setAudioOutput(audioOutput);
mediaPlayer->play();

QObject::connect(mediaPlayer, &QMediaPlayer::metaDataChanged, &app,
[mediaPlayer]
{
qDebug() << mediaPlayer->metaData().stringValue(QMediaMetaData::Title);
});

return app.exec();
}


see this example, it prints out "" after some little time

Читать полностью…

C++ & Qt

https://gist.github.com/dimitris-c/3e2af7ab451c965d126c02ab580f1eb8

Читать полностью…

C++ & Qt

im insataller ppython and pyside

Читать полностью…

C++ & Qt

i think this method only reads the headers of the source, and since most online radios use icycast/shoutcast, there arent any

Читать полностью…

C++ & Qt

Check the documentation

Читать полностью…

C++ & Qt

By using MaintenanceTool.exe you can install all compilers from Microsoft...I do not see any problems...

Читать полностью…

C++ & Qt

When you call play , you should check if the media has loaded and then fetch metadata

Читать полностью…

C++ & Qt

if yes, wouldn't that be an unnecessary second network request which could use more internet traffic?

Читать полностью…

C++ & Qt

the thing is that I need to get stream metadata while streaming the audio

Читать полностью…

C++ & Qt

hi guys qt support chromebook?

Читать полностью…

C++ & Qt

I set

        .depthTestEnable = VK_FALSE,
.depthWriteEnable = VK_FALSE,
.depthCompareOp = VK_COMPARE_OP_LESS,
for VkPipelineDepthStencilStateCreateInfo when configure graphics pipeline, but all standard Quick Items works badly if I use z value as z coordinate for vertices in my custom QQuickItem with Vulkan RHI backend.
It looks they have variable z coordinate across parent window viewport. In Renderdoc I see, that they even not write anything into z-buffer (but seems they depth-test it).

Читать полностью…

C++ & Qt

Hi. I have a Q3DScatter graph.
Its axis are configured this way:

    m_graph->axisX()->setRange(-horizontalRange, horizontalRange);
m_graph->axisY()->setRange(-verticalRange, verticalRange);
m_graph->axisZ()->setRange(-horizontalRange, horizontalRange);
m_graph->axisX()->setSegmentCount(int(horizontalRange));
m_graph->axisY()->setSegmentCount(int(verticalRange));
m_graph->axisZ()->setSegmentCount(int(horizontalRange));


where horizontalRange and verticalRange are both 16.0f.
Now, I'm trying to move an item along a given trace. So for example, I'm trying to move an item along a circle. I define the circle using its parametric equations, that is x = rcost, y = rsint. everything is fine except that on horizontalPlane the trace is a perfect circle whereas on OXY (vertical) plane the trace is an ellypse. But its weird, given that this is a graph there has to be consistency between different axis. And yet, the coordinates on Y axis and the coordinates on X axis aren't consistent which results in an ellypse. Any idea why it is this way?

Читать полностью…

C++ & Qt

Why? What's the actual issue?

Читать полностью…

C++ & Qt

On touch screens, try the clicked() signal

Читать полностью…
Subscribe to a channel