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

Compilation error: aggregate 'QPainterPath path' has incomplete type and cannot be defined #4028

Closed
safuya opened this issue Jun 15, 2020 · 2 comments · Fixed by #4027
Closed
Labels

Comments

@safuya
Copy link

safuya commented Jun 15, 2020

System Information:

Git hash version:
0f0e019

Arch Linux: Linux desktop 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64 GNU/Linux
cmake 3.17.3-1
protobuf 3.12.0-1
qt5-base 5.15.0-3
qt5-multimedia 5.15.0-1
qt5-svg 5.15.0-1
qt5-tools 5.15.0-2
qt5-websockets 5.15.0-1


Failing to make with error:

[ 84%] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/replay_timeline_widget.cpp.o
/home/safuya/Cockatrice/cockatrice/src/replay_timeline_widget.cpp: In member function 'virtual void ReplayTimelineWidget::paintEvent(QPaintEvent*)':
/home/safuya/Cockatrice/cockatrice/src/replay_timeline_widget.cpp:53:18: error: aggregate 'QPainterPath path' has incomplete type and cannot be defined
   53 |     QPainterPath path;
      |                  ^~~~
make[2]: *** [cockatrice/CMakeFiles/cockatrice.dir/build.make:1545: cockatrice/CMakeFiles/cockatrice.dir/src/replay_timeline_widget.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:354: cockatrice/CMakeFiles/cockatrice.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
@safuya safuya added the Bug label Jun 15, 2020
@ebbit1q
Copy link
Member

ebbit1q commented Jun 16, 2020

I already submitted a pr for this here: #4027

@ebbit1q
Copy link
Member

ebbit1q commented Jun 16, 2020

You'll already be able to build that branch while I work out the remaining warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants