Closed akovbovich closed 10 years ago
I think that something is wrong with your Qt5 installation.... can you paste output of these commands?
➜ ukraine git:(neo) pkg-config --cflags Qt5Widgets
-I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include/QtWidgets -I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include -I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include/QtGui -I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include -I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include/QtCore -I/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include
➜ ukraine git:(neo) pkg-config --libs Qt5Widgets
-L/home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core
➜ ukraine git:(neo) ls -l /home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include/QtWidgets/QApplication
-rw-r--r-- 1 kakadu kakadu 26 Jun 19 17:08 /home/kakadu/mand/prog/qt/qt5.2/5.3/gcc_64/include/QtWidgets/QApplication
➜ ukraine git:(neo) qmake -query QT_VERSION
5.3.1
I hope https://github.com/Kakadu/lablqt/issues/16 is unrelated to this....
Ξ ~ → pkg-config --cflags Qt5Widgets
-I/Users/andy/Qt/5.3/clang_64/include/QtWidgets -I/Users/andy/Qt/5.3/clang_64/include -I/Users/andy/Qt/5.3/clang_64/include/QtGui -I/Users/andy/Qt/5.3/clang_64/include -I/Users/andy/Qt/5.3/clang_64/include/QtCore -I/Users/andy/Qt/5.3/clang_64/include
Ξ ~ → find ~/Qt -name QApplication -print
/Users/andy/Qt/5.3/android_armv7/include/QtWidgets/QApplication
/Users/andy/Qt/5.3/clang_64/lib/QtWidgets.framework/Versions/5/Headers/QApplication
/Users/andy/Qt/5.3/ios/include/QtWidgets/QApplication
Ξ ~ → pkg-config --libs Qt5Widgets
-F/Users/andy/Qt/5.3/clang_64/lib -framework QtWidgets -F/Users/andy/Qt/5.3/clang_64/lib -framework QtGui -F/Users/andy/Qt/5.3/clang_64/lib -framework QtCore
Ξ ~ → ls -l ~/Qt/5.3/clang_64/include/
total 0
drwxr-xr-x 8 andy staff 272 19 июл 07:14 QtOpenGLExtensions
drwxr-xr-x 7 andy staff 238 19 июл 07:14 QtPlatformSupport
drwxr-xr-x 9 andy staff 306 19 июл 07:14 QtUiTools
It seems this bug is not fixed: https://bugreports.qt-project.org/browse/QTBUG-35256
They recommend to add -I${libdir}/QtWidgets.framework/Versions/5/Headers
to .pc file.
I don't have Mac, I can't test it or fix it, sorry man.
Cflags: -F${libdir} -framework QtWidgets
in /Users/andy/Qt/5.3/clang_64/lib/pkgconfig/Qt5Widgets.pc
does the trick
=-=-= Installing lablqt.0.3 =-=-=
Building lablqt.0.3:
./configure
make generator
bash -c cd lablqml && ./configure --datarootdir=/Users/andy/.opam/4.02.0+trunk/lib && make
make opam.install
Installing lablqt.0.3.
Ξ ~ → ocamlfind query lablqml
/Users/andy/.opam/4.02.0+trunk/lib/lablqml
Good. Can I close this?
ok
I hope I will get some feedback about lablqt from you, Andrey :)
tutorial is there: http://kakadu.github.io/lablqt/tutorial2.html