Skip to content

Allow build with qt6 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow build with qt6 #13

wants to merge 1 commit into from

Conversation

neochapay
Copy link

No description provided.

@@ -69,17 +73,25 @@ QAudioFormat getRecordingFormat()
QAudioFormat format;

format.setChannelCount(ChannelCount);
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
format.setSampleFormat(QAudioFormat::Int16);
format.setSampleRate(SampleRate);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now missing on qt5 case.

@@ -34,8 +34,12 @@

#ifndef VOICECALLAUDIORECORDER_H
#define VOICECALLAUDIORECORDER_H

#include <QtCore>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole QtCore? Why?

Copy link
Contributor

@pvuorela pvuorela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as needing changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants