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

fix: build failures due to missing includes #98

Closed
wants to merge 1 commit into from

Conversation

felixonmars
Copy link
Member

Fixes the following build failure:

/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp: In member function ‘void MiddleView::saveAs(SaveAsType)’:
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:283:22: error: ‘QStandardPaths’ has not been declared
  283 |         historyDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
      |                      ^~~~~~~~~~~~~~
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:283:55: error: ‘QStandardPaths’ has not been declared
  283 |         historyDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
      |                                                       ^~~~~~~~~~~~~~
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:354:5: error: ‘QThreadPool’ has not been declared
  354 |     QThreadPool::globalInstance()->start(exportWorker);
      |     ^~~~~~~~~~~

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: felixonmars

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hundundadi
Copy link
Contributor

Please update this pull-request

Fixes the following build failure:
```
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp: In member function ‘void MiddleView::saveAs(SaveAsType)’:
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:283:22: error: ‘QStandardPaths’ has not been declared
  283 |         historyDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
      |                      ^~~~~~~~~~~~~~
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:283:55: error: ‘QStandardPaths’ has not been declared
  283 |         historyDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
      |                                                       ^~~~~~~~~~~~~~
/home/felix/projects/deepin/deepin-voice-note/src/views/middleview.cpp:354:5: error: ‘QThreadPool’ has not been declared
  354 |     QThreadPool::globalInstance()->start(exportWorker);
      |     ^~~~~~~~~~~
```
Copy link
Contributor

@hundundadi hundundadi left a comment

Choose a reason for hiding this comment

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

[是否满足兼容性要求] Y
[是否满足commit提交规范] Y
[是否满足编码规范] Y
[Review结论] Pass
[Fail原因] N/A

@hundundadi
Copy link
Contributor

/merge

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Oct 30, 2023

Permission denied

@wineee
Copy link
Member

wineee commented Oct 30, 2023

Conflict with #97 , as the former one has already been merged, I will close this PR

@wineee wineee closed this Oct 30, 2023
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.

5 participants