Clipper On Line • Ver Tópico - Ambiente compilando o Harbour, distribuir aplicação HBQT
Página 1 de 1

Ambiente compilando o Harbour, distribuir aplicação HBQT

MensagemEnviado: 21 Dez 2014 11:18
por Itamar M. Lins Jr.
cd \harbour\
SET HB_QT_MAJOR_VER=5
rem set QT_EMBEDDED_PLATFORMS_PLUGINS=no
SET MGWHOME=c:\DVL\Qt\Qt5.4.0\Tools\mingw491_32
SET MGWBIN=%MGWHOME%\bin
SET QTHOME=c:\DVL\Qt\Qt5.4.0\5.4\mingw491_32
SET QTBIN=%QTHOME%\bin
SET HB_WITH_QT=%QTHOME%\include
SET HB_QTPATH=%QTBIN%
SET HRBHOME=c:\harbour
SET HRBBIN=%HRBHOME%\bin\win\mingw
set QTCONTRIBS_REBUILD=yes
SET QTPLAT=%QTHOME%\plugins\platforms
SET PATH=%QTPLAT%;%MGWBIN%;%QTHOME%;%QTBIN%;%HRBHOME%;%HRBBIN%;%PATH%
SET HB_INSTALL_PREFIX=%HRBHOME%
WIN-MAKE clean install
cd \harbour\addons
hbmk2 qtcontribs.hbp -rebuildall

here for copy the runtime in bin folder
xcopy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\plugins\platforms\*.* C:\harbour\bin\win\mingw\platforms\*.* /s /e /y
xcopy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\plugins\imageformats C:\harbour\bin\win\mingw\imageformats\*.* /s /e /y
cd C:\harbour\bin\win\mingw
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\icudt52.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\icuin52.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\icuuc52.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5Core.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5Gui.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5Multimedia.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5Network.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5PrintSupport.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\Qt5Widgets.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\libgcc_s_dw2-1.dll
copy C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\libwinpthread-1.dll
copy "C:\dvl\Qt\Qt5.4.0\5.4\mingw491_32\bin\libstdc++-6.dll"
rem not found for remember
copy C:\dvl\Qt\Qt5.3.1\5.3\mingw482_32\bin\libEGL.dll
copy C:\dvl\Qt\Qt5.3.1\5.3\mingw482_32\bin\libGLESv2.dll


Serve p/ harbour 3.2 ou 3.4, ensina até como compilar o Harbour dos fontes.

Saudações,
Itamar M. Lins Jr.