Clipper On Line • Ver Tópico - QtContribs + hb32 para Windows e Android
Mudar para estilo Clássico
Projeto Harbour QT - HbQt, HbXBP e HbIDE
Postar uma resposta

QtContribs + hb32 para Windows e Android

17 Abr 2014 17:11

Pessoal, o Pritpal disponibilizou para download uma versão da HbQt já compilada e incluiu uma cópia do Harbour com as libs compiladas para Windows e também para Android.

Pritpal Bedi escreveu:Hello Everybody

Just uploaded HbQt Installer QtContribs_Mingw-482_Qt-530_r294_Setup.exe.
You can download it from sourceforge via this link:

http://sourceforge.net/projects/qtcontribs/files/QtContribs_Mingw-482_Qt-530_r294_Setup.exe/downlo

With this upload, active support to Qt 4x retires from today. This installer has following properties:

1. Included are Harbour binaries for MinGW 4.8.2 version shipped with Qt 5.3.0.
2. Included Harbour and QtContrib binaries for Android API 9.
3. Installer does not include MinGW ( Waiting for Harbour to Upgrade ).
4. Installer does not include Android NDK ( which is mammoth in size, though I wished I could include ).
5. A template Android project for Qt Creator with accompanying main cpp is added for quick start.
Both, console and HbQt based GUI templates are included.

Below is the ChangeLog from r272 through r294 for ready reference:

https://groups.google.com/forum/#!topic/qtcontribs/4CDKAvw7QOM

[Editado]
Saiu uma versão mais recente do QtContribs for Android:
http://sourceforge.net/projects/qtcontribs/files/?source=navbar
Fonte:
https://groups.google.com/forum/#!topic/qtcontribs/OMf9wWzN1LI

Abraços,

QtContribs + hb32 para Windows e Android

17 Abr 2014 23:27

O Pritpal é fantástico, passou um passo a passo de como criar um Android APK:

Pritpal Bedi escreveu:Hello Everybody

This thread will contain all the discussions leading to building an
Android APK via Qt Creator, Harbour and HbQt. This message body will be edited for
inserting missing parts as and when discovered; instead of initiating a different isolated
message. The idea is to keep every needed bit at one place. Once we will be convinced
that what goes into this message is sufficient enough to understand the steps
required to build an APK, I will publish it as part of HbIDE and/or onto my site.

Assumptions:

1. One would use C drive for all these operations ( change links accordingly in case of other drive ).
2. For simplicity reasons, some components will be installed in easy graspable folders instead of their default locations.
3. To make things really simpler, I suggest ( and refer in following lines ) to use QtContribs installation folder for other components.
4. You have some proficiency with how to use Qt Creator.

After installing QtContribs create these subfolders in C:\hb32\android
C:\hb32\android
\sdk
\ndk
\ant

What Components are Needed:

1. Harbour binaries compiled by Android NDK.
2. Complete installation of Qt 5.3.0beta or later with MinGW 4.8.2.
3. Complete installation of Android SDK.
4. Complete installation of Android NDK.
5. Complete installation of Apache Ant Tool ( Ant ).
6. Complete installation of Java v1.7 or later.

1. Harbour binaries compiled by Android NDK.
We have them ready as part of QtContribs installer. You need not to re-do it again.
This does not stop you to build your own

2. Complete installation of Qt 5.3.0beta or later with MinGW 4.8.2.
Download Qt 5.3.0 beta from
http://download.qt-project.org/development_releases/qt/5.3/5.3.0-beta/qt-opensource-windows-x86-android-5.3.0-beta.exe
and install it in its default location on drive C which should be like C:\Qt\Qt5.3.0.

3. Complete installation of Android SDK.
Download Android SDK from
http://developer.android.com/sdk/index.html#download
and deflate it in C:\hb32\android\sdk folder.

4. Complete installation of Android NDK.
Download Android NDK from
http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86.zip
and deflate in C:\hb32\android\ndk folder.

5. Complete installation of Apache Ant Tool ( Ant ).
Download ANT from:
http://www.poolsaboveground.com/apache//ant/binaries/apache-ant-1.9.3-bin.zip
and deflate in C:\hb32\android\ant folder.

6. Complete installation of Java v1.7 or later.
Most probably Java is already installed on your computer, but if not download it from
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
and install it in its default folder which will be somewhere in Program Files.

Once all above components are in place we are ready for experiencing our first Android build.
But wait, we need to setup a proper build project folder where all files created by Qt Creator
will reside. Note that Qt Creator can build projects for different targets and platforms and
name its build folders accordingly. So it is important to understand its importance.
I suggest to have C:\hb32-android folder parallel to C:\hb32 folder. Then create as many
folders within it as many projects you might have. For our comprehension I create a project,
( hbqt\tests\browarray.prg based ), like this:

C:\hb32
...\bin
...
C:\hb32-android
...browarray
......hb-gui.cpp ( copy it from C:\hb32\android )
......hb-gui.pro ( __do__ )

In hb-gui.pro change:

LIBS += -LC:\hb32\lib\android\gccarm \
\
-lmyapp \
\
=>

LIBS += -LC:\hb32\lib\android\gccarm \
\
-lbrowarray \
\

This will be the only change you would do for any new project you will initiate.

Now execute Qt Creator. and follow these steps:

1. Navigate <Tools><Options><Android>.
2. In the resulting dialog enter these values:

qt-tools-options-android..png

I have some AVD's already created on my machine so are picked by the dialog above.
If you have just installed Qt Creator and have never done Android programmin, you may need
to create one AVD. Follow the buttons on the dialog.

To be continued...

Enjoy
Pritpal Bedi
a student of software analysis & concepts

https://groups.google.com/forum/#!topic/qtcontribs/a90JXbXoX3I

QtContribs + hb32 para Windows e Android

08 Ago 2014 22:57

Amiguinho,

Pergunta:

1. Harbour binaries compiled by Android NDK.
We have them ready as part of QtContribs installer. You need not to re-do it again.
This does not stop you to build your own


Neste trecho do segundo post fala sobre Android compilado para Android. A pergunta é se esta versão compilado esta no link exposto no primeiro post.

Hello Everybody

Just uploaded HbQt Installer QtContribs_Mingw-482_Qt-530_r294_Setup.exe.
You can download it from sourceforge via this link:

http://sourceforge.net/projects/qtcontr ... exe/downlo

QtContribs + hb32 para Windows e Android

08 Ago 2014 23:22

Amiguinho, é isto mesmo, no link do primeiro post já tem as libs compiladas para Windows e também para Android, inclusive tem uma versão mais recente neste link:
http://sourceforge.net/projects/qtcontribs/files/?source=navbar

Abraços,

QtContribs + hb32 para Windows e Android

09 Ago 2014 11:13

Agora temos os Sensors
Código:

  + hbqt/qtsensors
  + hbqt/qtsensors/doc
  + hbqt/qtsensors/doc/en
  + hbqt/qtsensors/hbqt_init.cpp
  + hbqt/qtsensors/hbqtsensors.ch
  + hbqt/qtsensors/hbqtsensors.hbc
  + hbqt/qtsensors/hbqtsensors.hbm
  + hbqt/qtsensors/hbqtsensors.hbp
  + hbqt/qtsensors/hbqtsensors.hbx
  + hbqt/qtsensors/hbqtsensorss.hbp
  + hbqt/qtsensors/qth
  + hbqt/qtsensors/qth/filelist.hbm
  + hbqt/qtsensors/qth/QAccelerometer.qth
  + hbqt/qtsensors/qth/QAccelerometerFilter.qth
  + hbqt/qtsensors/qth/QAccelerometerReading.qth
  + hbqt/qtsensors/qth/QAltimeter.qth
  + hbqt/qtsensors/qth/QAltimeterFilter.qth
  + hbqt/qtsensors/qth/QAltimeterReading.qth
  + hbqt/qtsensors/qth/QAmbientLightFilter.qth
  + hbqt/qtsensors/qth/QAmbientLightReading.qth
  + hbqt/qtsensors/qth/QAmbientLightSensor.qth
  + hbqt/qtsensors/qth/QAmbientTemperatureFilter.qth
  + hbqt/qtsensors/qth/QAmbientTemperatureReading.qth
  + hbqt/qtsensors/qth/QAmbientTemperatureSensor.qth
  + hbqt/qtsensors/qth/QCompass.qth
  + hbqt/qtsensors/qth/QCompassFilter.qth
  + hbqt/qtsensors/qth/QCompassReading.qth
  + hbqt/qtsensors/qth/QGyroscope.qth
  + hbqt/qtsensors/qth/QGyroscopeFilter.qth
  + hbqt/qtsensors/qth/QGyroscopeReading.qth
  + hbqt/qtsensors/qth/QHolsterFilter.qth
  + hbqt/qtsensors/qth/QHolsterReading.qth
  + hbqt/qtsensors/qth/QHolsterSensor.qth
  + hbqt/qtsensors/qth/QIRProximityFilter.qth
  + hbqt/qtsensors/qth/QIRProximityReading.qth
  + hbqt/qtsensors/qth/QIRProximitySensor.qth
  + hbqt/qtsensors/qth/QLightFilter.qth
  + hbqt/qtsensors/qth/QLightReading.qth
  + hbqt/qtsensors/qth/QLightSensor.qth
  + hbqt/qtsensors/qth/QMagnetometer.qth
  + hbqt/qtsensors/qth/QMagnetometerFilter.qth
  + hbqt/qtsensors/qth/QMagnetometerReading.qth
  + hbqt/qtsensors/qth/QOrientationFilter.qth
  + hbqt/qtsensors/qth/QOrientationReading.qth
  + hbqt/qtsensors/qth/QOrientationSensor.qth
  + hbqt/qtsensors/qth/QPressureFilter.qth
  + hbqt/qtsensors/qth/QPressureReading.qth
  + hbqt/qtsensors/qth/QPressureSensor.qth
  + hbqt/qtsensors/qth/QProximityFilter.qth
  + hbqt/qtsensors/qth/QProximityReading.qth
  + hbqt/qtsensors/qth/QProximitySensor.qth
  + hbqt/qtsensors/qth/QRotationFilter.qth
  + hbqt/qtsensors/qth/QRotationReading.qth
  + hbqt/qtsensors/qth/QRotationSensor.qth
  + hbqt/qtsensors/qth/QSensor.qth
  + hbqt/qtsensors/qth/QSensorFilter.qth
  + hbqt/qtsensors/qth/QSensorReading.qth
  + hbqt/qtsensors/qth/QTapFilter.qth
  + hbqt/qtsensors/qth/QTapReading.qth
  + hbqt/qtsensors/qth/QTapSensor.qth
  + hbqt/qtsensors/qth/QTiltFilter.qth
  + hbqt/qtsensors/qth/QTiltReading.qth
  + hbqt/qtsensors/qth/QTiltSensor.qth
    + Added QtSensors module which was introcuced in Qt 5.1.


Vou colocar um giroscópio aqui no sistema de NFE! :-)

Saudações,
Itamar M. Lins Jr.

QtContribs + hb32 para Windows e Android

09 Ago 2014 15:04

Pessoal, alguém conseguir gerar um aplicativo para Android com harbour ? estou brigando com isso desde cedo.

QtContribs + hb32 para Windows e Android

09 Ago 2014 17:21

Meu Note é velhinho... tem muita coisa aqui instalada...

Estou testando as coisas da HBQT windows apenas, se conseguir sucesso irei começar usar o Android, mas lendo os tutoriais não achei muito complicado.
Já voltei a usar HBIDE, compilando os exemplos inclusive esse sensors, achei uns erros em alguns exemplos, alguma dificuldade aqui e ali, mas tenho que achar tempo para aprender e usar a HBQT, estou estudando, se der pé mudarei definitivamente para HBQT, pelo pouco que já li tem muita coisa, muita coisa mesmo a cabeça está fumaçando... são muitas possibilidades.

Tem o tutorial do Giovanni Di Maria
http://www.elektrosoft.it/tutorials/harbour-android-windows-console/how-to-create-application-for-android-in-harbour-windows.asp

Saudações,
Itamar M. Lins Jr.

QtContribs + hb32 para Windows e Android

09 Ago 2014 23:12

Nesse tutorial do link é para usar em modo console, estou tentando usar com QT para dar um visual melhor no aplicativo. Vou aguardar o Guru da QTContrib concluir o passo a passo dele.

QtContribs + hb32 para Windows e Android

05 Nov 2014 12:52

Prezados senhores,

Estou tentando instalar o Harbour para Android + QT (seguindo o tutorial - passo a passo - do Pritpal Bedi ), porem parei na configuração do Android no QT CREATOR, quando tento criar um AVD este da um erro dizendo que "No CPU/ABI system image available for this target" para qualquer device que eu escolha.

Quem puder me ajudar, desde já agradeço.

PS: O Harbour Android em modo Console funcionou direitinho, somente não consegui fazer um atalho para a tela do smartfone, pois no tutorial ele é executado de dentro terminal de console. Se alguém souber como se executa, mesmo em modo console, diretamente (por um atalho, sem precisar entrar no terminal console para chamar o programa), agradeço a informação.

att.

QtContribs + hb32 para Windows e Android

26 Jun 2015 17:16

Alguma novidade sobre o Harbour + QT no Android ?

QtContribs + hb32 para Windows e Android

26 Jun 2015 18:53

O Pritpal Bedi e uma outra pessoa já estão usando em produção, veja algumas telas!
https://groups.google.com/forum/#!topic/qtcontribs/EaWMjrUgjKc

Outro commit r410 foi mais visando plataforma mobile.

This commit is a sum total of many enhancements and new features mainly
targetting mobile platforms. Notably, HbQtBrowser has undergone tons of
improvements along-side HbQt Get System. HbQtBrowse now implements modeless
cell editing taking use of HbQtSilverLight object. This is specially useful
for mobile apps where modal event loops are not handelled well.
Now all of the HbQtWidget objects are desktop + mobile compliant.


Então as coisas estão caminhado...
Precisamos é de incentivo... digo $$ dos clientes para usarmos todo esse arsenal que temos com o Harbour.

Saudações,
Itamar M. Lins Jr.

QtContribs + hb32 para Windows e Android

26 Jun 2015 19:54

Onde posso baixar a ultima versão deste pacote e um passo a passo?

Itamar M. Lins Jr. escreveu:O Pritpal Bedi e uma outra pessoa já estão usando em produção, veja algumas telas!
https://groups.google.com/forum/#!topic/qtcontribs/EaWMjrUgjKc

Outro commit r410 foi mais visando plataforma mobile.

This commit is a sum total of many enhancements and new features mainly
targetting mobile platforms. Notably, HbQtBrowser has undergone tons of
improvements along-side HbQt Get System. HbQtBrowse now implements modeless
cell editing taking use of HbQtSilverLight object. This is specially useful
for mobile apps where modal event loops are not handelled well.
Now all of the HbQtWidget objects are desktop + mobile compliant.


Então as coisas estão caminhado...
Precisamos é de incentivo... digo $$ dos clientes para usarmos todo esse arsenal que temos com o Harbour.

Saudações,
Itamar M. Lins Jr.

QtContribs + hb32 para Windows e Android

05 Nov 2015 10:41

Bom dia !

Separei um PC zerado para iniciar uma experiência com Harbour + QT, tanto Windows quanto Android.

Já vi vários post´s com toneladas de link´s, mas gostaria se possível, de uma lista atualizada com link´s das ferramentas que irei precisar, e se não for pedir demais, daquele passo a passo ;)

Obrigado desde já.

QtContribs + hb32 para Windows e Android

11 Fev 2018 13:07

pessoal boa tarde!
o projeto QTcontribs para android parou?

QtContribs + hb32 para Windows e Android

26 Set 2019 14:30

Boa tarde.
Alguém poderia passar o passo a passo para instalação da QTCONTRIBS no harbour 32, pq eu tentei várias vezes e não obtive exito.
:{
Postar uma resposta