Skip to content

Commit

Permalink
Check on these QT includes to resolve the QFile and QDebug issue
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Jan 7, 2024
1 parent a68496c commit 124b1cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ jobs:
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
echo "qt-include-dir=${{ github.workspace }}/Qt/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/include" >> "$GITHUB_OUTPUT"
echo "qt-lib-dir=${{ github.workspace }}/Qt/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}/lib" >> "$GITHUB_OUTPUT"
echo "qt-main-dir=${{ github.workspace }}/Qt/Qt/${{ env.QT_VERSION }}/${{ env.QT_ARCH }}" >> "$GITHUB_OUTPUT"
echo "qt-include-dir=${{ steps.strings.outputs.qt-main-dir }}/include" >> "$GITHUB_OUTPUT"
echo "qt-lib-dir=${{ steps.strings.outputs.qt-main-dir }}/lib" >> "$GITHUB_OUTPUT"
- name: Configure CMake
env:
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
lines-changed-only: false
no-lgtm: false
repo-root: ${{ github.workspace }}
extra-args: "-I./include -I./tests -I./external/GoogleTestFramework/googlemock/include -I./external/GoogleTestFramework/googletest/include -I${{ steps.strings.outputs.qt-include-dir }} -I${{ steps.strings.outputs.qt-lib-dir }}"
extra-args: "-I./include -I./tests -I./external/GoogleTestFramework/googlemock/include -I./external/GoogleTestFramework/googletest/include -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtCore -isystem ${{ steps.strings.outputs.qt-include-dir }} -isystem ${{ steps.strings.outputs.qt-main-dir }}/mkspecs/linux-g++ -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtQuick -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtGui -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtQml -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtNetwork -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtQmlModels -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtOpenGL -isystem ${{ steps.strings.outputs.qt-include-dir }}/QtWidgets"
# The following value will only update a single comment
# in a pull request's thread. Set it to false to disable the comment.
# Set it to true to post a new comment (and delete the old comment).
Expand Down

0 comments on commit 124b1cd

Please sign in to comment.