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

on ubuntu need opengl in pro file and shoudl change include files ord… #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mahaidong
Copy link

I had solve some error in ubuntu:

/home/microartisan/Downloads/occQt-master/occView.h:15: error: QGLWidget: No such file or directory
#include
^~~~~~~~~~~

/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:58: error: #error qmetatype.h must be included before any header file that defines Bool
#error qmetatype.h must be included before any header file that defines Bool
^~~~~

@mahaidong
Copy link
Author

also sovle this :

OpenGl_Windows::CreateWindow: window visual is incom… …

…plete: no depth buffer, no stencil buffer

@grotius-cnc
Copy link

grotius-cnc commented Oct 27, 2020

The first question in this thread can by solved by replacing in file : occView.h the include QGLWidget to include QWidget at line 15.

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.

2 participants