Skip to content
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

Include <QtGui/qtgui-config.h> to fix flatpak builds #12804

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

daschuer
Copy link
Member

This aims to fix #12802

@daschuer
Copy link
Member Author

@djantti can you confirm this fixes the build error for you? Than let's merge this small regression fix to 2.4.

@daschuer
Copy link
Member Author

@Be-ing has confirmed this fixes the flatpack buil error.
This low risk and can be merged to the 2.4.0 release candidate.

@@ -1,5 +1,7 @@
#pragma once

#include <QtGui/qtguiglobal.h> // for QT_NO_OPENGL and QT_OPENGL_ES_2
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#include <QtGui/qtguiglobal.h> // for QT_NO_OPENGL and QT_OPENGL_ES_2
// This is where QT_OPENGL_ES_2 may be defined.
#include <QtGui/qtgui-config.h>

This more directly gets at what is needed here. I have confirmed it still builds an aarch64 Flatpak.

@djantti
Copy link
Contributor

djantti commented Feb 13, 2024

Excellent work! This fixes AArch64 flatpak build for me too.

@daschuer daschuer changed the title Include <QtGui/qtguiglobal.h> to fix flatpak builds Include <QtGui/qtgui-config.h> to fix flatpak builds Feb 13, 2024
@daschuer
Copy link
Member Author

Done

@Be-ing Be-ing added the blocker label Feb 13, 2024
@Be-ing Be-ing merged commit 5e00122 into mixxxdj:2.4 Feb 13, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants