Hi Alexandr
In demoqt.prg insert before main()
****INSERT THIS ****
REQUEST HB_GT_WIN
********************
INIT PROCEDURE Qt_Start()
LOCAL lang:= QTextCodec():new ()
qt_qapplication()
********* HERE IS YOUR CODE ********
lang:setCodecForCStrings (lang:codecForName_1("Windows-1250"))
**********************************
RETURN
EXIT PROCEDURE Qt_End()
qt_qapplication_quit()
RETURN
/*----------------------------------------------------------------------*/
PROCEDURE Main()
Local oLabel, oBtn, oDA, oTabBar
Local oWnd, oSize
Local oMenuBar, pIcon
Local oMenuA, pAction
LOCAL oPS, oPPrv, oMB, oWZ, oCD, oWP, oSBar, oStyle
***** INSERT THIS ****************
Altd()
********************************
.
.
.
.
**** And remove this
/*
#ifdef __PLATFORM__WINDOWS
PROCEDURE hb_GtSys()
HB_GT_GUI_DEFAULT()
RETURN
#endif
*/
You have to link gtwin
(If working on windows, otherwise some linux gt library)
It works for me.
I also changed few lines in debugger.prg,
so that I can set breakpoints and other settings in init.cld
BRGS
Franček Prijatelj
Alexandr Okhotnikov wrote:
>
> Hi Pritpal Bedi
>
> Using hbqt how to use the harbour-debugger (for *. prg)?
> I asked earlier, no one answered. The debugger is not called. It is
> not possible or require additional conditions?
>
> Best regards,
> Alexandr Okhotnikov
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>
--
View this message in context:
http://www.nabble.com/debug-tp25430407p25431876.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour