Skip to content

Commit e0ca68c

Browse files
committed
Updated readme.
1 parent c8e6e4e commit e0ca68c

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
# opencascade_qml
2-
Simple example integrating OpenCASCADE into QML
3-
4-
![Example Screenshot](/img/screenshot.jpg "Example Screenshot")
5-
6-
I've used examples from:
7-
OpenCASCADE/samples/Qt/AndroidQt and from this repository:
8-
https://github.com/KDAB/integrating-qq2-with-opengl
9-
10-
11-
This program is free software: you can redistribute it and/or modify
12-
it under the terms of the GNU Lesser General Public License as published by
13-
the Free Software Foundation, either version 3 of the License, or
14-
(at your option) any later version.
15-
16-
This program is distributed in the hope that it will be useful,
17-
but WITHOUT ANY WARRANTY; without even the implied warranty of
18-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19-
GNU Lesser General Public License for more details.
20-
21-
You should have received a copy of the GNU Lesser General Public License
22-
along with this program. If not, see <http://www.gnu.org/licenses/>.
1+
# Simple example integrating OpenCascade 7.3.0 into QML (Qt 5.12)
2+
3+
![Example Screenshot](/img/screenshot.jpg "Example Screenshot")
4+
5+
This project is a fork of the example project of [Anton Shabalin](https://github.com/ShabalinAnton), which was based on [Guiseppe D'Angelos](https://github.com/KDAB/integrating-qq2-with-opengl) QQ2/OpenGL example and the official OCCT AndriodQt sample code.
6+
7+
The fork improves the example regarding the following points:
8+
9+
- Largely simplified codebase compared to the original version.
10+
- Support for recent versions of OpenCascade (7.3.0) and Qt (5.12).
11+
- Removed dependency on private headers (allows for dynamic linking).
12+
- Build tested in Visual Studio 2019 (vc150), 2017 (vc141) and Qt Creator (4.9.2).
13+
14+
Note that platforms other than Windows may require slight modifications, mainly replacing native calls to `wglGetCurrentDC` and `wglGetCurrentContext` and respective include of `<windows.h>` with appropriate APIs.
15+
16+
## License
17+
18+
[GNU Lesser General Public License 3.0](./LICENSE)

0 commit comments

Comments
 (0)