Skip to content

Fixes #1108: Temporary Fix for Deprecated Qt functions#1109

Closed
AniketBose369 wants to merge 2 commits into
DistroAV:masterfrom
AniketBose369:issue-#1108
Closed

Fixes #1108: Temporary Fix for Deprecated Qt functions#1109
AniketBose369 wants to merge 2 commits into
DistroAV:masterfrom
AniketBose369:issue-#1108

Conversation

@AniketBose369

Copy link
Copy Markdown

No description provided.

@paulpv

paulpv commented Oct 17, 2024

Copy link
Copy Markdown
Member

@AniketBose369 Please resolve the conflicts.
Why do you call these fixes "Temporary"?
Just remove the old code you commented out.

Comment thread src/forms/obsndi-update.cpp Outdated
auto utcDateTime = QDateTime::fromString(
pluginUpdateInfo.releaseDate, Qt::ISODate);
utcDateTime.setTimeSpec(Qt::UTC);
//utcDateTime.setTimeSpec(Qt::UTC); fix it in issue-1108

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove this commented out line

Comment thread src/forms/obsndi-update.cpp Outdated
config->AutoCheckForUpdates());
connect(ui->checkBoxAutoCheckForUpdates,
&QCheckBox::stateChanged, this, [](int state) {
//&QCheckBox::stateChanged, fix it in issue-1108

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove this commented out line

Comment thread src/forms/obsndi-update.cpp
@AniketBose369

AniketBose369 commented Oct 18, 2024 via email

Copy link
Copy Markdown
Author

@AniketBose369

Copy link
Copy Markdown
Author

Done

@paulpv

paulpv commented Oct 18, 2024

Copy link
Copy Markdown
Member

@AniketBose369 Please fix the conflicts
image

Comment thread src/forms/update.cpp
ui->checkBoxAutoCheckForUpdates->setChecked(
config->AutoCheckForUpdates());
connect(ui->checkBoxAutoCheckForUpdates,
<<<<<<< HEAD:src/forms/obsndi-update.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not how to resolve a code conflict

@BitRate27

Copy link
Copy Markdown
Contributor

It seems obs-studio reverted the move of Qt to 6.7 on Sep 12 ( obsproject/obs-deps@a0d8666 ) and went back to 6.6.3. This means the new checkStateChanged signal is not in the Qt from obs-studio rn.

@AniketBose369

AniketBose369 commented Oct 22, 2024 via email

Copy link
Copy Markdown
Author

@BitRate27

Copy link
Copy Markdown
Contributor

Not exactly sure why that worked, but until they move to 6.7, we have to hold off as we won't be able to build. Since they reverted back, there must have been a major issue with 6.7, so we should wait until obs-studio settles on a new version. We can even look at this in Qt 6.8 as this one API isn't removed until 6.9.

@paulpv

paulpv commented Oct 27, 2024

Copy link
Copy Markdown
Member

@AniketBose369 @BitRate27 Shall we close this for now?
Once OBS officially supports Qt 6.7/8 we will update ours and this warning error should be obvious and then fixed.

@AniketBose369

Copy link
Copy Markdown
Author

Yeah that seems the right choice

@Trouffman Trouffman closed this Oct 27, 2024
@Trouffman

Copy link
Copy Markdown
Collaborator

PR closed as this is "too early".

Revise / re-submit PR when :

  • OBS integrate QT 6.7+

To-do :

  • Update minimum required OBS version for DistroAV to support the new minimum requirement.

@Trouffman

Copy link
Copy Markdown
Collaborator

@AniketBose369 a fix for you need has been merged to master. see #1151

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.

4 participants