Welcome to the Project Developers' Table

Moderator: Rathinagiri

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

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

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

Re: Welcome to the Project Developers' Table

Post by mrduck »

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

Re: Welcome to the Project Developers' Table

Post by mrduck »

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: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

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: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Welcome to the Project Developers' Table

Post by esgici »

No crash, but prg. error:
Clipboard Problem-1
Clipboard Problem-1
CB_Prob1.png (185.04 KiB) Viewed 3181 times
Clipboard Problem-2
Clipboard Problem-2
CB_Prob2.png (67.97 KiB) Viewed 3181 times
Viva INTERNATIONAL HMG :D
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

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: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Welcome to the Project Developers' Table

Post by esgici »

Win 7 :(
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

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