Bindings libraries for Harbour++/Harbour/xHarbour and Qt Framework 5
For Qt 5.7 or upper, you can use the project below:
https://github.com/marcosgambeta/qt5xhb-v2
The version above use C++11 resources (lambda functions, nullptr, ...).
-
Install the Qt Framework 5 of your choice.
-
Download and compile the [x]Harbour of your choice: Harbour 3.2.0dev, Harbour 3.4.0dev (fork of Viktor Szakats), xHarbour or Harbour++.
https://github.com/harbour/core
https://github.com/vszakats/hb
https://github.com/xHarbour-org/xharbour
https://github.com/marcosgambeta/harbourpp-v1
- Download, configure and compile the Qt5xHb project.
Open a issue if you have problems with the compilation:
https://github.com/marcosgambeta/qt5xhb-v1/issues
Download, unzip and execute the file qt5xhb\prompt.bat. Test with the commands bellow:
cd examples [ENTER]
hbmk2 mainwindow ..\qt5xhb.hbc [ENTER]
windeployqt --release mainwindow.exe [ENTER]
mainwindow [ENTER]
Download, unzip and execute the file qt5xhb\prompt.bat. Test with the commands bellow:
cd examples [ENTER]
hbmk2 mainwindow ..\qt5xhb.hbc [ENTER]
windeployqt --release mainwindow.exe [ENTER]
mainwindow [ENTER]
Download, unzip and execute the file prompt.bat. Test with the commands bellow:
cd qt5xhb [ENTER]
cd examples [ENTER]
hbmk2 mainwindow ..\qt5xhb.hbc [ENTER]
windeployqt --release mainwindow.exe [ENTER]
mainwindow [ENTER]
Download, unzip and execute the file prompt.bat. Test with the commands bellow:
cd qt5xhb [ENTER]
cd examples [ENTER]
compile mainwindow [ENTER]
windeployqt --release mainwindow.exe [ENTER]
mainwindow [ENTER]
Harbour 3.2.0dev para Qt 5.5.1 e MinGW 4.9.2 (32-bit)
http://www.mediafire.com/file/82yql0w5t6a388u/harbour320dev-qt551-mingw492-32bit-20170225-0002.7z
Send your message to: marcosgambeta AT outlook DOT com
Follow the blog below for more info and extra content: