Welcome to the Project Developers' Table

Moderator: Rathinagiri

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

Re: Welcome to the Project Developers' Table

Post by mrduck » Wed Oct 20, 2010 1:36 pm

Roberto Lopez wrote:
I'll create new binaries including HBIDE ASAP.
Roberto, please check to include Pritpal latest patch on hbqt_hbqslots.

If you think it is ok, please use the mingw version included in the nightly build, so we all share the same version...

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Wed Oct 20, 2010 4:29 pm

rathinagiri wrote:My systems are Windows 7 and Vista Home edition. It happens from the first time itself in the case of Win 7 and from the second time onwards in the case of Vista.

Open HBIDE editor. Type something. Select the text. Right Click. Select Copy. Close HBIDE. The error appears.
I cannot reproduce it on my system.
I believe hbQT with you is not properly compiled
or with non-supported MinGW disto.
enjoy hbIDEing... Pritpal Bedi

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 » Wed Oct 20, 2010 4:57 pm

mrduck wrote:
Roberto Lopez wrote:
I'll create new binaries including HBIDE ASAP.
Roberto, please check to include Pritpal latest patch on hbqt_hbqslots.

If you think it is ok, please use the mingw version included in the nightly build, so we all share the same version...
I'm already working on it.
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 » Wed Oct 20, 2010 5:03 pm

bedipritpal wrote: I cannot reproduce it on my system.
I believe hbQT with you is not properly compiled
or with non-supported MinGW disto.
What MingW and QT versions are you using for development?

We can match them to avoid this kind of problems.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Post by bedipritpal » Wed Oct 20, 2010 6:02 pm

Roberto Lopez wrote: What MingW and QT versions are you using for development?

We can match them to avoid this kind of problems.
It is not recommended by Harbour.
So experiments must be with distro indicated in INSTALL.
I use MinGW shipped with Qt.
I do it because there is no proper distribution to this effect.

Also few things behave differently on different OS's.
enjoy hbIDEing... Pritpal Bedi

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 » Wed Oct 20, 2010 7:46 pm

bedipritpal wrote:
Roberto Lopez wrote: What MingW and QT versions are you using for development?

We can match them to avoid this kind of problems.
It is not recommended by Harbour.
So experiments must be with distro indicated in INSTALL.
I use MinGW shipped with Qt.
I do it because there is no proper distribution to this effect.

Also few things behave differently on different OS's.
Ok.

I've re-tested the set clipboard sample with QT 4.7 and the MingW distributed with current Harbour binaries (4.5.0-1) and the problem persists (GPF without error message nor hb_out.log file).

I've executed the sample with administrative privileges and the problem perists.

So, the only choice is to test it with an older QT version.
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 » Wed Oct 20, 2010 9:10 pm

bedipritpal wrote: So experiments must be with distro indicated in INSTALL.
Well... according INSTALL:
But QT dlls bundled with current Harbour nightly build version is 4.6.3.

So, despite the supplied info, I'll assume that 4.6.3 is supported too.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by mrduck » Wed Oct 20, 2010 9:40 pm

Roberto Lopez wrote:But QT dlls bundled with current Harbour nightly build version is 4.6.3.

So, despite the supplied info, I'll assume that 4.6.3 is supported too.
hbqt supports Qt 4.5. This means that you can't call methods like QLineEdit:setPlaceholdertext() because it doesn't exist for hbqt !

4.6.3 is the Qt version that was on Viktor pc when he built the nightly built package.

In the next few days, tomorrow if work at office permits, I will install Qt 4.7 on the build machine since Viktor already tested it.

Of course you will not be able to use QLineEdit:setPlaceholdertext() yet....

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

Post by mrduck » Wed Oct 20, 2010 9:58 pm

Roberto Lopez wrote: I've re-tested the set clipboard sample with QT 4.7 and the MingW distributed with current Harbour binaries (4.5.0-1) and the problem persists (GPF without error message nor hb_out.log file).
I have Qt 4.6.3 installed, with mingw-tdm (Viktor says I should not use it, and I will pass to nightly build mingw).

I attached visual c++ debug to hbide process and the message I get is:
Unhandled exception in hbide.exe (QTCORE4.DLL):0xC0000005: Access Violation.

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

Post by mrduck » Wed Oct 20, 2010 10:11 pm

Pritpal and Roberto, please test this:

open hbide and edit a prg file
open notepad

in hbide select part of the text, rightclick, copy
go to notepad, do a paste... it will work

close hbide, I and Roberto get a GPF... Pritpal doesn't
go to notepad and try to paste: I don't paste anything, like if clipboard is now empty

Pritpal, what happens to you ?

I did browse source code and did some tests... I could not find any problem at the moment and QClipboard is correctly never "delete"d

Post Reply