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
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
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
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
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'
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
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
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
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
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
___
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
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
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
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
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
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
.
Regards,
Marcos Gambeta
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
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
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
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
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
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
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
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
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
here:
http://www.qtsoftware.com/downloads
Regards,
Marcos Gambeta
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
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
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,
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.
/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
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
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
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
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
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
: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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
ary).
Regards,
Marcos Gambeta
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
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
61 matches
Mail list logo