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

CMake: let cpack generate package. #1463

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

atauzki
Copy link
Collaborator

@atauzki atauzki commented Apr 5, 2024

Execute the cpack directly in builddir or cmake --build build --target package and generate both the 7z and nsis installer.

Or use cpack -G <generator> to generate other format of packages.

@atauzki atauzki force-pushed the staged branch 5 times, most recently from 9f5d075 to abf20bf Compare April 5, 2024 05:37
CMakeLists.txt Outdated
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25) # ubuntu 23.04 Fedora 36

# Qt6.4+ only

option(WITH_FFMPEG_PLAYER "Enable support for FFMPEG player" ON)
option(WITH_FFMPEG_PLAYER "Enable support for FFMPEG player" OFF)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe don't change this default yet. What if someone uses older Qt. Also, Qt multimedia has multiple backends now, FFmpeg isn't guaranteed to be the default on some Linux distros.

Copy link
Collaborator Author

@atauzki atauzki Apr 5, 2024

Choose a reason for hiding this comment

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

Just do that with -DWITH_FFMPEG_PLAYER=ON. I don't think it's matter, but most versions in our workflow don't need it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

@atauzki atauzki Apr 5, 2024

Choose a reason for hiding this comment

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

Maybe we should add deprecated warning until we can safely remove it when qt6.4+ are widely used.

Copy link
Collaborator

@shenlebantongying shenlebantongying Apr 5, 2024

Choose a reason for hiding this comment

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

I don't know the release plan, maybe we can cut a release for the last version that supports Qt5 first 😅 @xiaoyifang

@shenlebantongying shenlebantongying merged commit 432f2ed into xiaoyifang:staged Apr 5, 2024
8 checks passed
Copy link

sonarcloud bot commented Apr 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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