Re: [Harbour] xhgtk - undefined reference to `hb_gcAlloc'

2010-03-01 Thread Marcos Gambeta
Em 25/02/2010 15:11, Barry Jackson escreveu: /usr/lib/harbour/libxhgtk.so: undefined reference to `hb_gcAlloc' What am I missing? Same happens with all xhgtk samples tested. Barry, Use Harbour 2.0 (last stable version). xHGTK is not compatible with current Harbour yet. If I change hb_gcAll

Re: [Harbour] [hbxbp] Working with 2 or more windows

2010-01-23 Thread Marcos Gambeta
Em 22/01/2010 13:59, Pritpal Bedi escreveu: A rule in MT: The dialogs in another threads have to be destroyed by the program code and only then destroy the main window. I was unable to cover this problem. Ok. The new sample have a check to avoid this. I will see what can be done

Re: [Harbour] [hbxbp] Working with 2 or more windows

2010-01-23 Thread Marcos Gambeta
Em 22/01/2010 19:41, Pritpal Bedi escreveu: The example works correctly if you close the other opened window before closing main. On my XP machine the above code is working fine even if I close the main without closing the other windows. But I am sure GPF can appear in this case. I am using Win

[Harbour] [hbxbp] Working with 2 or more windows

2010-01-22 Thread Marcos Gambeta
Pritpal, See this example: [begincode] #include "xbp.ch" #include "appevent.ch" PROCEDURE Main () LOCAL oDlg LOCAL mp1 LOCAL mp2 LOCAL oXbp LOCAL nEvent LOCAL oMenuBar LOCAL oSubMenu oDlg := XbpDialog():new( , , {10,10}, {800,600}, , .f. ) oDlg:title := "Test" oD

Re: [Harbour] HBIDE

2010-01-16 Thread Marcos Gambeta
Pritpal Bedi escreveu: Marcos Gambeta wrote: I am using VLC and i can see the videos (.avi and .ogv). http://www.videolan.org Thanks. Now I can play .ogv. BTW I did not hear from you since long. Any comments about hbQT, hbXBP, hbIDE ? Sorry, very busy in the last weeks. Now, I'

Re: [Harbour] HBIDE

2010-01-15 Thread Marcos Gambeta
Pritpal Bedi escreveu: None of .avi players on my system are displaying the contents. But all of them runs the bar and tell that these videos are 48 and 33 seconds duration. May be I am missing something. Pritpal, I am using VLC and i can see the videos (.avi and .ogv). http://www.videolan

Re: [Harbour] Re: Harbour next major release wishlist

2009-12-23 Thread Marcos Gambeta
Marcos Gambeta escreveu: xHarbour developers have interest in the library too. Only to clarify: i'm talking about developers that use xHarbour and not the developers that develop the xHarbour. -- Regards, Marcos Antonio Gambeta ___ Ha

Re: [Harbour] Re: Harbour next major release wishlist

2009-12-23 Thread Marcos Gambeta
Angel Pais escreveu: - Invite Marcos Antonio gambeta to integrate xhgtk into harbour`s tree. I am not against this idea. But i have one question (maybe more than one): xHarbour developers have interest in the library too. If the developmente of the xhgtk move to /harbour/contrib, what will ha

Re: [Harbour] Video and presentation about Qt license

2009-12-23 Thread Marcos Gambeta
http://www.slideshare.net/qtbynokia/qt-licensing-explained In the presentation, see pages 5 and 14 about dynamic and static linking. -- Regards, Marcos Antonio Gambeta ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

[Harbour] Video and presentation about Qt license

2009-12-23 Thread Marcos Gambeta
Hi all, Links for video and presentation about the Qt license: http://qt.nokia.com/developer/learning/online/talks/developerdays2009/qt-in-use/making-the-licensing-decision2014lgpl-vs.-commercial http://www.slideshare.net/qtbynokia/qt-licensing-explained -- Regards, Marcos Antonio Gambeta ___

Re: [Harbour] Window Main X Window Modal X HBQT

2009-12-18 Thread Marcos Gambeta
Pritpal Bedi escreveu: QT_PTROF() is not required anymore for HBQT objects, though it does not harm anyway. Ok. Much better. :-) -- Regards, Marcos Antonio Gambeta ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org ht

Re: [Harbour] Window Main X Window Modal X HBQT

2009-12-18 Thread Marcos Gambeta
PCToledo escreveu: But it has as define the size of the fields and the position of labels and fields? Remove the widget QFormLayout and use :move(x,y). To define the length, use the method :setMaxLength(nLength). See sample below: [code] STATIC FUNCTION PassWord() Local oDialog Local oLabel

Re: [Harbour] Window Main X Window Modal X HBQT

2009-12-17 Thread Marcos Gambeta
PCToledo escreveu: Someone could send a small example of how to create a Window Main and open it in a Window Modal? Your sample with a login dialog: [code] /*--*/ #include "hbqt.ch" #include "common.ch" #define QT_EVE_TRIGGER

Re: [Harbour] Compile error hbide in vc9

2009-11-29 Thread Marcos Gambeta
mk2: Error: Running linker. 1181 To compile, i add "-Lc:\qt\4.6.0-rc1\lib". Regards, Marcos Gambeta ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Compile error hbide in vc9

2009-11-29 Thread Marcos Gambeta
Pritpal Bedi escreveu: Hi Marcos Marcos Gambeta wrote: I am testing this: http://qt.nokia.com/developer/qt-4.6-preview#download-the-qt-4-1 http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.0-rc1-vs2008.exe And i have problems with hbide+msvc too. I had added this function in

Re: [Harbour] Compile error hbide in vc9

2009-11-29 Thread Marcos Gambeta
c:\windows\system32 call "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" set HB_COMPILER=msvc set HB_INC_QT=c:\Qt\4.6.0-rc1\include cd harbour win-make install Paths above are only for reference. I am using a exclusive folder for each compiler. Reg

Re: [Harbour] Compile error hbide in vc9

2009-11-29 Thread Marcos Gambeta
. Regards, Marcos Gambeta ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] hbmk2 rev 13024

2009-11-26 Thread Marcos Gambeta
Przemyslaw Czerpak escreveu: Yes, stupid "last second" modification just before commit and without any tests :-(. Should be fixed by: 2009-11-26 12:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) Yes, is ok now (after a clean build). Thanks! Marc

Re: [Harbour] hbmk2, Visual C++ 2008 Express and GPF

2009-11-26 Thread Marcos Gambeta
Marcos Gambeta escreveu: > Compiling Harbour (r.13024) with Visual C++ 2008 Express, i have gpf´s when calling hbmk2. Sorry, i reported the same problem reported by Francek Prijatelj. Regards, Marcos Gambeta ___ Harbour mailing list (attachm

[Harbour] hbmk2, Visual C++ 2008 Express and GPF

2009-11-26 Thread Marcos Gambeta
0x9000 C:\Windows\system32\LPK.DLL 0x75CC 0x0007D000 C:\Windows\system32\USP10.dll OS is Vista Ultimate SP2. Regards, Marcos Gambeta ___ Harbour mailing list (attachment size

[Harbour] Error with revision 12817 and MSVC (Visual C++ Express 2008)

2009-11-03 Thread Marcos Gambeta
m 'void *' to 'ch ar *' Conversion from 'void*' to pointer to non-'void' requires an explicit ca st win-make[3]: *** [cdpapi.obj] Error 2 win-make[2]: *** [descend] Error 2 win-make[1]: *** [rtl.inst] Error 2 win-make: *** [src.inst] Error 2 R

Re: [Harbour] Re: My tests with Qt 4.5.2 and MSVC 2008 (Express Edition)

2009-08-26 Thread Marcos Gambeta
ate a batch file to run the demo: set PATH=C:\QtDlls;c:\windows;c:\windows\system32 demoxbp Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] My tests with Qt 4.5.2 and MSVC 2008 (Express Edition)

2009-08-25 Thread Marcos Gambeta
Marcos Gambeta escreveu: demoxbp.exe (don't work - stop with a runtime error) http://www.4shared.com/file/127607906/e920c8be/demoxbp.html After last changes, demoxbp.exe is working now. http://www.4shared.com/file/127745326/42549204/demoxbp2.html Regards, Marcos Ga

Re: [Harbour] My tests with Qt 4.5.2 and MSVC 2008 (Express Edition)

2009-08-25 Thread Marcos Gambeta
Vailton Renato escreveu: How long it took to build Marcos?! The link that you mention it went from 2 to 3 days of waiting ... My development machine is AMD Sempron(tm) Processor 2800+ 1.60 GHz Windows Vista SP2 - 2 GB RAM The process take 7 hours (+/-). Regards, Marcos Gambeta

[Harbour] My tests with Qt 4.5.2 and MSVC 2008 (Express Edition)

2009-08-25 Thread Marcos Gambeta
work - stop with a runtime error) http://www.4shared.com/file/127607906/e920c8be/demoxbp.html Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Qt 4.5.2 and Qt Creator 1.2 Released

2009-06-25 Thread Marcos Gambeta
here: http://www.qtsoftware.com/downloads Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - How to retrieve events which are not SIGNALS on PRG level

2009-06-19 Thread Marcos Gambeta
Documentation about event filters: http://doc.qtsoftware.com/4.5/qobject.html#installEventFilter Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - How to retrieve events which are not SIGNALS on PRG level

2009-06-19 Thread Marcos Gambeta
the file slots.h. The codeblock for event "close" require .t. or .f. as a result. .t. close the window and .f. cancel the event. Forgive my ausence in discussions. Personal/family questions require my time/attention and i have only few hours each week to read/answer messages. Regards,

Re: [Harbour] SF.net SVN: harbour-project:[10940] trunk/harbour

2009-04-27 Thread Marcos Gambeta
png images/save.png To use the images in resource file: QIcon(":/images/new.png") To compile a qrc file: c:\Qt\2009.02\qt\bin\rcc.exe -name application application.qrc -o qrc_application.cpp .qrc is equivalent to .rc and qrc_*.cpp (can be another name) is equivalent to .res.

Re: [Harbour] Re: Going on the web with Qt

2009-04-23 Thread Marcos Gambeta
/whitepapers/reg-whitepaper-webkit-tech Maybe Qt is the way for us. :-) Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Qt 4.5.1 released

2009-04-23 Thread Marcos Gambeta
More info: http://www.qtsoftware.com/about/news/updates-to-qt-qt-creator-released Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-22 Thread Marcos Gambeta
the basis for next development stratedy whether we should go for single thread or MT way. Yes, i can do. I will try windows in MT mode with controls like QLineEdit, QCheckBox, QRadioBox and others. Tell me if you want some especific test. Regards, Marcos Gambeta

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-21 Thread Marcos Gambeta
With change below ... oButton:Connect("clicked()", {|p|qout(hb_threadStart({||NewWindow()}))} ) ... i get a sequence like this: 0x01749118 0x0066F938 0x01C87998 0x01C8F400 Regards, Marcos Gambeta ___ Harbour mailing list Harbo

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-21 Thread Marcos Gambeta
window (main) return 1. Each new window return a sequential number: 2, 3, 4, 5, 6, 7, ... Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-21 Thread Marcos Gambeta
this line, don´t work: oButton:Connect("clicked()", hb_threadStart( {|p|NewWindow()} ) ) (the parameter is not a codeblock | may be a typo) But work with this: oButton:Connect("clicked()", {|p|hb_threadStart({||NewWindow()})} ) I am planning more tests. I believe we can find

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-21 Thread Marcos Gambeta
:exit(0)}) oEventLoop:exec(0) Return nil Using QEventLoop, i can have 'n' windows, each window with your own event loop. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - Multi-threading - A Limitation

2009-04-21 Thread Marcos Gambeta
t and call exec() on it to start a local event loop. From within the event loop, calling exit() will force exec() to return." Can each Window in gtqtc have your own event loop ? Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-p

Re: [Harbour] Harbour and Ubuntu Server

2009-04-21 Thread Marcos Gambeta
rg and hbmk2). In folder /usr/lib/harbour, i can see: libgtcgi.a libgtpca.a libgtstd.a libgttrm.a libgtxwc.a Tell me if you need more tests. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Harbour and Ubuntu Server

2009-04-21 Thread Marcos Gambeta
in a Linux installation (console mode only) ? Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Error compiling hbqt with latest svn

2009-04-09 Thread Marcos Gambeta
-level access. Using this function is not portable. My suggestion is to remove the function from hbqt, because is not portable. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman

Re: [Harbour] Problemn with OLE

2009-04-03 Thread Marcos Gambeta
Sérgio Kondo escreveu: In your link Linares say 'Un primer boceto de un diseñador... '. What is "boceto"? http://es.wikipedia.org/wiki/Boceto Esboço (portuguese) Layout (english) Regards, Marcos Gambeta ___ Harbour mailing

[Harbour] HbQt - methods returning pointers (suggestion)

2009-04-03 Thread Marcos Gambeta
e samples. Only objects. If you want to maintain methods returning pointers, maybe we can use a flag to control the value returned by methods: METHOD menuBar() INLINE IIf( flag, TQMenuBar():NewFromPointer( Qt_QMainWindow_menuBar( ::pPtr ) ), Qt_QMainWindow_menuBar( ::pPtr ) ) When passing a object as a parameter to a function, the type of the parameter can be checked to see if is a object or a pointer. Something like this: #define GETPOINTER(p) IIf( valtype(p)=="O", p:ptr, p ) Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - An Issue to Resolve

2009-04-01 Thread Marcos Gambeta
Pritpal Bedi escreveu: > Marcos > > Marcos Gambeta-2 wrote: >> http://labs.trolltech.com/forums/topic/516 >> > > It seems it is too much work. > So what is the simple solution to just disable it > in Harbour builds from outside of the the QT. > > One solut

Re: [Harbour] QT - An Issue to Resolve

2009-04-01 Thread Marcos Gambeta
Pritpal Bedi escreveu: > > Can you locate what changes we need to achieve so? > Changes are here: http://labs.trolltech.com/forums/topic/516 Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://list

Re: [Harbour] QT - An Issue to Resolve

2009-04-01 Thread Marcos Gambeta
e license, it’s one of those cases where the LGPL wouldn’t work quite well, so we went for another: see for example qaxmain.cpp Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman

Re: [Harbour] QT - An Issue to Resolve

2009-04-01 Thread Marcos Gambeta
eira (AT) nokia.com Senior Product Manager - Nokia, Qt Software Sandakerveien 116, NO-0402 Oslo, Norway Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] QT - An Issue to Resolve

2009-04-01 Thread Marcos Gambeta
icensed to use ActiveQt. Project MESSAGE: You are not licensed to use ActiveQt. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] How create libhbqt.a?

2009-03-27 Thread Marcos Gambeta
our PATH 2) copy the exe to c:\devl\Qt\2009.01\qt\bin 3) copy qtcore4.dll and qtgui4.dll to same folder of the exe Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-23 Thread Marcos Gambeta
add the lines below to remove console window: REQUEST HB_GT_GUI_DEFAULT ANNOUNCE HB_GT_WIN My Harbour is compiled with default options. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mai

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-21 Thread Marcos Gambeta
Pritpal Bedi escreveu: Marcos Gambeta wrote: ; NOTE: Marcos, can you update your PHP script to write output file in format I showed in above files? Ok, but only in the next week (very busy this weekend). Can you show up "function.php" and "header.php"

Re: [Harbour] SF.net SVN: harbour-project:[10670] trunk/harbour

2009-03-21 Thread Marcos Gambeta
f App or Dialogs. I tried with -mwindows, but don't worked for me. I continue searching for a solution. ; NOTE: Marcos, can you update your PHP script to write output file in format I showed in above files? Ok, but only in the next week (very busy this weekend). Many t

Re: [Harbour] QT and harbour/contrib/hbqt Environment

2009-03-18 Thread Marcos Gambeta
configuration. Run prompt.bat to compile the examples: cd examples build qapplication build qmainwindow1 build qmainwindow2 build qmainwindow3 build qwebview The classes need some fixes and changes, but the examples are working. The main files: qapplication.cpp slots.cpp slots.h Regards, Marcos

Re: [Harbour] QT and harbour/contrib/hbqt Environment

2009-03-18 Thread Marcos Gambeta
DIR)/bin/harbour.exe $^ -n -w -I$(HRB_DIR)/include -i$(INC_DIR) -o$@ $^ $(OBJ_DIR)/%.o : $(SRC_DIR)/%.c $(CXX) $(CXXFLAGS) $(CXXINCLUDE) -o $@ $^ $(OBJ_DIR)/%.o : $(SRC_DIR)/%.cpp $(CXX) $(CXXFLAGS) $(CXXINCLUDE) -o $@ $^ Regards, Marcos Gamb

Re: [Harbour] Undestranding qt in an harbour sharing point

2009-03-17 Thread Marcos Gambeta
utton *) hb_parptr(1); bool par2 = hb_parl(2); par1->setChecked ( par2 ); } /* void toggle () */ HB_FUNC( QT_QABSTRACTBUTTON_TOGGLE ) { QAbstractButton * par1 = (QAbstractButton *) hb_parptr(1); par1->toggle ( ); } Is more easy and fast

Re: [Harbour] Undestranding qt in an harbour sharing point

2009-03-17 Thread Marcos Gambeta
Massimo Belgrano escreveu: Dear Marcos Gambeta (author of hb qt wrapper) Can you help us tu use & test "Testando Harbour e QT <http://www.magsoftinfo.com.br/blog/?p=139>" ? I need some days to complete recent changes and stabilize the code. I changed from manual creat

Re: [Harbour] Build xhgtk inside harbour

2009-03-12 Thread Marcos Gambeta
i can continue in the Harbour contrib dir. Vailton Renato is ready to help me in the development. Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Build xhgtk inside harbour

2009-03-12 Thread Marcos Gambeta
Massimo Belgrano escreveu: In this area also QT seem interesting but is not present any wrapper library afaik Massimo, See the link: http://www.magsoftinfo.com.br/blog/?cat=9 HbQt is LGPL. Wait few days to see the code. Regards, Marcos Gambeta

Re: [Harbour] Compiling gtwvg with current Harbour

2009-02-16 Thread Marcos Gambeta
pathy hbvpdf hbwin hbwhat hbziparc for %%n in ( %_HB_DIRS% ) do %COMSPEC% /c %_HB_BATWORKER% %%n %1 %2 %3 %4 %5 %6 %7 %8 %9 To get gtwvg compiled, i need to run the script two times. Thanks! Regards, Marcos Gambeta ___ Harbour mailing list Har

[Harbour] Compiling gtwvg with current Harbour

2009-02-16 Thread Marcos Gambeta
27;hDC' (wanted 'HDC__ *', got 'int') in function HB_FUN_WIN_FILLRECT Error E2342 .\wvgwin.c 2615: Type mismatch in parameter 'hbr' (wanted 'HBRUSH__ *', got 'int') in function HB_FUN_WIN_FILLRECT *** 3 errors in Compile

Re: [Harbour] 1.1 pending items

2009-02-11 Thread Marcos Gambeta
ary). Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Application Launch Problem

2009-01-19 Thread Marcos Gambeta
ted to xhgtk development (Przemyslaw Czerpak is in the list too): https://lists.sourceforge.net/lists/listinfo/xhgtk-developers Regards, Marcos Gambeta ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour