Multi-platform HMG OBJETS? ... YES!

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Roberto Lopez »

rathinagiri wrote:
From this release, object variable assigned to a window created with DEFINE WINDOW command, is automatically made public. At control creation, an instance variable is dynamically added to its parent window object. The name of this instance variable, is the control's 'stringified' object variable name and its content is the control object. So, you could access a particular control from any place without regarding about scoping, exactly like standard HMG. So, we have standard OOP and semi-OOP to select :)
That would be perfect. I think we needn't change our existing code a lot.
Theoretically:

- 100% Standard OOP
- 100% HMG's Semi-OOP Compatibility
- Multiplatform
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Roberto Lopez »

sudip wrote:Hello Roberto,

I tested this. Excellent :)

As per my initial test:
1. Old HMG syntax changed (for OOP). But, more flexible. :)
2. Size of .exe file increased.
3. Required .dll files. So, now, we can't have stand alone .exe file. We must accept it to make it multi-platform :)

I like it :)

Rathi, you are correct. :)
1. Theoretically it should be nearly 100% compatible with standard HMG.
2. Yes.
3. Apparently, there is possible to create a static executable requiring no dll's, but I do not know how to do it yet :)
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Roberto Lopez »

rathinagiri wrote:Hi Roberto,

Thanks for your fantastic. It is just working great!

Can you please remove executable files from samples directory?

Also run time libraries (dll files) can be distributed once.

IMHO, This would reduce the installation file size considerably.
I must research about how to create static builds (no dlls required).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Multi-platform HMG OBJETS? ... YES!

Post by esgici »

rathinagiri wrote: Can you please remove executable files from samples directory?
Also run time libraries (dll files) can be distributed once.
IMHO, This would reduce the installation file size considerably.
I agree with you Rathi :)

No everybody has fast and free internet :(

fe : PSpad and MinGW too may be not standard components of HMG unless changed.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Multi-platform HMG OBJETS? ... YES!

Post by esgici »

Roberto Lopez wrote: Connection with QT was possible ...
Does it's right, before swallowed by one of big brothers, QT was a open source (GNU) project ?

I hope that gurus of Harbour and Roberto had validated licence issues.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
luisvasquezcl
Posts: 1261
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Multi-platform HMG OBJETS? ... YES!

Post by luisvasquezcl »

Estimado Roberto,
muchas gracias por tu dedicación.
Como siempre un excelente trabajo.
saludos cordiales,
Luis Vasquez
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: Multi-platform HMG OBJETS? ... YES!

Post by apais »

If you link qt static then then you have to purchase a QT license.
It is open source and free of charge only if linked dynamically.
This has been discussed many times in Harbour Dev list.

HTH
Angel
Angel Pais
Web Apps consultant/architect/developer.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Roberto Lopez »

apais wrote:If you link qt static then then you have to purchase a QT license.
It is open source and free of charge only if linked dynamically.
This has been discussed many times in Harbour Dev list.

HTH
Angel
Yes.

The only question that I was not able to answer is about QTCORE4.DLL and QTGUI4.DLL redistribution.

Even in the Nokia site there are unanswered questions about that.

http://developer.qt.nokia.com/wiki/LicensingQuestions

If someone knows about this, please, clarify...
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Roberto Lopez »

Roberto Lopez wrote:
If someone knows about this, please, clarify...
I've researched a little more and I've found that these dlls are distributed with lots of applications and are freely available to download from various sites (ie: dll-files.com) so, we could assume that there is no restrictions on redistribution.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: Multi-platform HMG OBJETS? ... YES!

Post by Ricci »

"As announced on January 14, 2009, Qt version 4.5 added another option, the LGPL,which should make Qt even more attractive for non-GPL open source projects and for closed applications." http://en.wikipedia.org/wiki/Qt_(framework)
Post Reply