-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align naming for components and namespaces
* do not choose the camera format * Align names and use cmake presets * add the components to the find package config * engine.loadFromModule in the examples and fix component namings * Create a single thread for decoding that waits. #81 * use the latest dependencies by tag
- Loading branch information
Showing
56 changed files
with
2,970 additions
and
2,641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: code-format | ||
run-name: Format code and do PR | ||
on: | ||
pull_request_target: | ||
types: [closed] | ||
branches: [develop] | ||
jobs: | ||
checkout-format-pr: | ||
uses: EddyTheCo/Common/.github/workflows/code-format.yml@v0.5.0 | ||
if: ${{ (github.event.pull_request.merged == true) && (startsWith(github.base_ref, 'develop')) }} | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: qmllintbot | ||
run-name: Linting QML for PR | ||
on: | ||
|
||
workflow_run: | ||
workflows: [push-build-release] | ||
types: | ||
- completed | ||
jobs: | ||
download-comment: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
permissions: | ||
actions: read | ||
pull-requests: write | ||
steps: | ||
- name: 'Download artifact' | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: common | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
run-id: ${{ github.event.workflow_run.id }} | ||
|
||
- name: Read pr number | ||
id: getprn | ||
run: | | ||
cat pr_number | ||
echo "prn=$(cat pr_number)" >> $GITHUB_OUTPUT | ||
- name: 'Run reviewer' | ||
uses: EddyTheCo/qmllint-action/@v0.1.0 | ||
with: | ||
jsondir: ${{ github.workspace }} | ||
pr_number: ${{ steps.getprn.outputs.prn }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,7 @@ | |
doc/html/ | ||
doc/*.tag | ||
*.swp | ||
CMakeLists.txt.user | ||
build* | ||
tags | ||
CMakeUserPresets.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"version": 6, | ||
"configurePresets": [ | ||
{ | ||
"name": "default-release", | ||
"displayName": "Default Release", | ||
"description": "Release Static library using Ninja generator", | ||
"generator": "Ninja", | ||
"binaryDir": "${sourceDir}/build/release", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"REPO_URL": "https://eddytheco.github.io/Esterv.Utils.QrCode" | ||
} | ||
}, | ||
{ | ||
"name": "default-develop", | ||
"displayName": "Default Config for development(Release)", | ||
"description": "Release build type using Ninja generator, add tests and docs", | ||
"inherits": "default-release", | ||
"cacheVariables": { | ||
"BUILD_DOCS": "ON", | ||
"BUILD_EXAMPLES": "ON", | ||
"QTDEPLOY": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "default-develop-debug", | ||
"displayName": "Default Config for development(Debug)", | ||
"description": "Debug build type using Ninja generator", | ||
"inherits": "default-develop", | ||
"binaryDir": "${sourceDir}/build/debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug" | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "default-release", | ||
"configurePreset": "default-release" | ||
}, | ||
{ | ||
"name": "default-develop", | ||
"configurePreset": "default-develop" | ||
}, | ||
{ | ||
"name": "default-develop-debug", | ||
"configurePreset": "default-develop-debug" | ||
}, | ||
{ | ||
"name": "default-documentation", | ||
"configurePreset": "default-develop", | ||
"targets": "doxygen_docs" | ||
}, | ||
{ | ||
"name": "default-qmllint", | ||
"configurePreset": "default-develop", | ||
"targets": "all_qmllint_json" | ||
} | ||
], | ||
"workflowPresets": [ | ||
{ | ||
"name": "default-release", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "default-release" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "default-release" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "default-develop", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "default-develop" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "default-develop" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "default-documentation", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "default-develop" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "default-documentation" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "default-qmllint", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "default-develop" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "default-qmllint" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "default-develop-debug", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "default-develop-debug" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "default-develop-debug" | ||
} | ||
] | ||
} | ||
], | ||
"packagePresets": [ | ||
{ | ||
"name": "default-release", | ||
"description": "Release runtime components", | ||
"configurePreset": "default-release", | ||
"generators": [ | ||
"IFW", | ||
"TGZ" | ||
], | ||
"variables": { | ||
"CPACK_ARCHIVE_COMPONENT_INSTALL": "ON", | ||
"CPACK_COMPONENTS_ALL": "EstervQrGen;EstervQtQrGen;EstervQrDec;EstervQtQrDec;EstervQtQrGen-qml;EstervQtQrDec-qml", | ||
"CPACK_PACKAGE_CONTACT": "estervtech@gmail.com", | ||
"CPACK_PACKAGE_VENDOR": "estervtech" | ||
}, | ||
"packageDirectory": "packages" | ||
}, | ||
{ | ||
"name": "default-develop", | ||
"description": "Release development components", | ||
"configurePreset": "default-develop", | ||
"generators": [ | ||
"IFW", | ||
"TGZ" | ||
], | ||
"variables": { | ||
"CPACK_COMPONENTS_GROUPING": "ALL_COMPONENTS_IN_ONE", | ||
"CPACK_PACKAGE_CONTACT": "estervtech@gmail.com", | ||
"CPACK_PACKAGE_VENDOR": "estervtech" | ||
}, | ||
"packageDirectory": "packages-dev" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
@PACKAGE_INIT@ | ||
@SET_COMPONENTS@ | ||
include(CMakeFindDependencyMacro) | ||
find_dependency(Qt6 REQUIRED COMPONENTS Core Gui Qml Quick Svg OPTIONAL_COMPONENTS Multimedia ) | ||
find_dependency(Qt6 COMPONENTS Core Gui Qml Quick Svg OPTIONAL_COMPONENTS Multimedia ) | ||
find_dependency(OpenCV COMPONENTS core objdetect imgproc flann features2d calib3d ) | ||
find_dependency(EstervDesigns 1.2 COMPONENTS SimpleStyle CustomControls CONFIG) | ||
include ( "${CMAKE_CURRENT_LIST_DIR}/qrCode-config.cmake" ) | ||
find_dependency(EstervDesigns 2 COMPONENTS SimpleStyle CustomControls CONFIG) | ||
find_package_handle_standard_args(@PROJECT_NAME@ HANDLE_COMPONENTS) | ||
include ( "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-config.cmake" ) |
Oops, something went wrong.