Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez » Mon Oct 18, 2010 10:54 pm

mrduck wrote:Roberto, I replied to your previous message... but my message is not listed... did you delete it ? or the forum refused it ?

it's the second time one of my message are not posted and I'd like to know what happened to them...
No.

The forum is working strangely today.

I've experienced problems too.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Mon Oct 18, 2010 11:07 pm

It was my fault... another tab in firefox... sorry

Roberto Lopez wrote:Why can't we simply instruct hbmk2 to pick qt libs in hmg.hbc without need for other external files?
Try to follow one of the file present in hbqt.hbc, qtcore.hbc
it loads qtcore/hbqtcore.hbc that is:

incpaths=. g
libs=../hbqt_common.hbc
{!HB_STATIC_QT}libs=hbqtcore${__HB_DYN__}
{!HB_STATIC_QT&(allwin|os2)}libs=QtCore4 QtGui4
{!HB_STATIC_QT&(linux|symbian)}libs=QtCore QtGui
{!HB_STATIC_QT&darwin}libs=/Library/Frameworks/QtCore.framework/QtCore /Library/Frameworks/QtGui.framework/QtGui
{HB_STATIC_QT&allwin}libs=hbqtcores${__HB_DYN__}
{HB_STATIC_QT&linux}libs=hbqtcore
{HB_STATIC_QT&(allwin|linux)}libs=QtCore QtGui


it sets the include paths (but it not useful to you since youhave include files in main include dir)
it adds hbqt_common.hbc (that sets a bunch of other settings and adds some c++ compiler libraries)
then adds library according to the operating system we are using....

So, it is true that you can add libraries to build.bat, but we may be probably forgetting to set some other settings...
for the moment, please keep that contrib/hbqt directory in the package, you have to keep ONLY the *.hb* files, you can delete all other *.prg *.cpp *.ch files

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Mon Oct 18, 2010 11:21 pm

Roberto Lopez wrote:

Code: Select all

libs=hbqt.hbc
Inside hmg.hbc file you've posted is not required.

I've got crazy attempting to make it work, until I've realized that it is not needed.
:?

Carlos Britos
Posts: 220
Joined: Sat Aug 02, 2008 5:03 pm
Has thanked: 6 times
Been thanked: 2 times

Post by Carlos Britos » Mon Oct 18, 2010 11:38 pm

rathinagiri wrote:

Code: Select all

After running samples/window.main/demo_3.prg after 'clipboard set value' command issued, the program crashes when exiting.
Had anybody found the solution?
Hi Rathinagiri
I can't comfirm the crash here.
Regards/Saludos, Carlos (bcd12a)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Oct 19, 2010 12:00 am

mrduck wrote: So, it is true that you can add libraries to build.bat, but we may be probably forgetting to set some other settings...
for the moment, please keep that contrib/hbqt directory in the package, you have to keep ONLY the *.hb* files, you can delete all other *.prg *.cpp *.ch files
Ok. I'll do, but I guess that in the future we should provide a more cleaner/simpler way to do that.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Tue Oct 19, 2010 12:02 am

No crash, but prg. error:
CB_Prob1.png
Clipboard Problem-1
CB_Prob1.png (185.04 KiB) Viewed 1680 times
CB_Prob2.png
Clipboard Problem-2
CB_Prob2.png (67.97 KiB) Viewed 1680 times
Viva INTERNATIONAL HMG :D

Carlos Britos
Posts: 220
Joined: Sat Aug 02, 2008 5:03 pm
Has thanked: 6 times
Been thanked: 2 times

Post by Carlos Britos » Tue Oct 19, 2010 12:38 am

esgici wrote:No crash, but prg. error:
Well I don't know what happend, but here is ok. no crash, no error.
OS = Win XP sp3
Regards/Saludos, Carlos (bcd12a)

User avatar
esgici
Posts: 4513
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Tue Oct 19, 2010 12:51 am

Win 7 :(
Viva INTERNATIONAL HMG :D

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Oct 19, 2010 12:59 am

Pritpal,

I'm testing new binaries based on last harbour nighty sources and QT 4.7.

I've got the following error in browse demos:
Error HBQT/1000 Message not found :FROM: QMODELINDEX:FROM
Called from QMODELINDEX:FROM( 0 )
Called from BROWSE:ONSELECT( 758 )
The code involved is:

Code: Select all

/*----------------------------------------------------------------------*/

METHOD onSelect( pModelIndex ) CLASS BROWSE
   LOCAL qModelIndex := HB_QModelIndex():from( pModelIndex ) // Line #758

   ::nCX := qModelIndex:column()
   ::nCY := qModelIndex:row()

   RETURN Self

/*----------------------------------------------------------------------*/
EDIT: I've got the answer from current testbrow demo.

Code: Select all

   LOCAL qModelIndex := QModelIndexFromPointer( pModelIndex )
Sorry.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Oct 19, 2010 1:14 am

Hi All,

I'm making changes to make HMG run with latest HBQT changes.

Please, stop commit until finished.

Once finished new binaries will be required.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply