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

Added example for QT and conan #33

Merged
merged 8 commits into from
Mar 4, 2024
Merged

Conversation

StephanKa
Copy link
Collaborator

This PR will enable the build for QT but there are some changes which aren't directly connected to the QT:

Following changes are related to QT (only infrastructure was created)

  • QT was added as a conan package
  • CMakePreset for QT was added
  • conanfile has some special handling (environment variable) for enabling QT because conan will run before CMake configure the project
  • extra packages are needed and was moved to a separate pipeline. The first configuration will take around 30-40min

@StephanKa StephanKa added the enhancement New feature or request label Feb 22, 2024
@@ -12,6 +12,9 @@
"hidden": true,
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"environment": {
"DONT_CONFIGURE_QT": "1"
Copy link
Member

Choose a reason for hiding this comment

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

what happens in an environment where this variable is not set at all? From what I see that means that's the same as DONT_CONFIGURE_QT=0, i.e. it will be not not configured.

I am not sure whether that should be the default, and double negatives are a pain. Can this be inverted to "CONFIGURE_QT": "0"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes you are totally right. Resolved this brainf**k :)

@StephanKa StephanKa requested a review from arnemertz March 4, 2024 18:35
@StephanKa StephanKa merged commit 8cf8a67 into Zuehlke:main Mar 4, 2024
15 of 17 checks passed
@StephanKa StephanKa deleted the feature/add-qt branch May 9, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants