Page 69 of 106

Re: Welcome to the Project Developers' Table

Posted: Mon Oct 18, 2010 10:54 pm
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.

Re: Welcome to the Project Developers' Table

Posted: Mon Oct 18, 2010 11:07 pm
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

Re: Welcome to the Project Developers' Table

Posted: Mon Oct 18, 2010 11:21 pm
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.
:?

Re: Welcome to the Project Developers' Table

Posted: Mon Oct 18, 2010 11:38 pm
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 12:00 am
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 12:02 am
by esgici
No crash, but prg. error:
Clipboard Problem-1
Clipboard Problem-1
CB_Prob1.png (185.04 KiB) Viewed 3179 times
Clipboard Problem-2
Clipboard Problem-2
CB_Prob2.png (67.97 KiB) Viewed 3179 times

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 12:38 am
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

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 12:51 am
by esgici
Win 7 :(

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 12:59 am
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Oct 19, 2010 1:14 am
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.