Skip to content

Commit 16c7e09

Browse files
committed
some compiling notes thanks to henryiii
1 parent dc2dcb0 commit 16c7e09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qt-5-pyqt5/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ $ cmake -Dpybind11_DIR=/home/ale/bin/pybind11/share/cmake/pybind11 -DCMAKE_BUILD
1111
$ make
1212
$ ./sample
1313
~~~
14+
15+
## Notes
16+
17+
- On a mac with Qt from homebrew you need:
18+
`cmake .. -GXcode -DQt5Widgets_DIR=/usr/local/Cellar/qt/5.9.1/lib/cmake/Qt5Widgets`
19+
- If you prefer you can symlink pybind11 directory and replace the `find_package` with `add_subdirectory` in `CMakeLists.txt`

0 commit comments

Comments
 (0)