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

[Qt 5->6]: Create top-level CMake build script for status-desktop #17349

Open
micieslak opened this issue Feb 19, 2025 · 0 comments
Open

[Qt 5->6]: Create top-level CMake build script for status-desktop #17349

micieslak opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@micieslak
Copy link
Member

Description

status-desktop as a Qt app ideally should be build in a standard way, which is currently CMake script (.pro files in the past). There are various benefits of that:

  • handy project loading and management from QtCreator. Currently we use dummy .pro file to open the project in QtC, but the actual build is done via make.
  • well maintained support for qt in CMake, for building and also deployment
  • seamless integration of Qt's moc, convenience of qml modules and declarative types registration (like QML_ELEMENT)

The current Makefile can be altered to produce shared library instead of executable, being a dependency to the CMake. It can be also simplified by removing CMake invocations for StatusQ, Storybook and qml tests.

If needed top-level Makefile may be created to uniformly handle all builds.

@micieslak micieslak added the bug Something isn't working label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant