Xbase++ User Question using hbxbp

346 views
Skip to first unread message

Auge & Ohr

unread,
Oct 15, 2020, 4:30:11 AM10/15/20
to QtContribs
hi,

my Name is Jimmy.
i have start with harbour MiniGUI 1 Year ago after 20 Year using Xbase++

in a older OOHG ZIP file i found in \HB30\HARBOUR\contrib\hbxbp\
i have used Demo dialogqt.prg ( demoxbp.prg ) which use Xbase++ Syntax and it work fine :)

only Menu is missing ?

No_Menu.jpg


i guess it is a older Version
so my Question is : where do i get "latest" Libhbxbp.a for MinGW ?

as i just wrote my 1st 64 Bit App but have many 32 Bit Code : is a 32 Bit Libhbxbp.a available ?

greetings Jimmy


Pritpal Bedi

unread,
Oct 15, 2020, 9:26:03 AM10/15/20
to QtContribs
Hi Jimmy

As you have figured-out yourself, you are using a much older version. The version which was hosted in contribs was separated from Harbour core  In 2012 HbQt and hosted in separate repository here:

You have two options now 

1) download the last complete installer from link below and play with your experiment:

2) check-out the repository and build HbQt yourself. This is the best approach though. You will need to explore this google group to be comfortable with build process and various usages.


Hope someone here might jump in to help you.

And, welcome on-board.


Pritpal Bedi
a student of software analysis & concepts

Auge & Ohr

unread,
Oct 15, 2020, 4:15:33 PM10/15/20
to QtContribs
hi,

thx for Answer.
i have try to build new LIB
i have copy \hbxbp to \HARBOUR\contrib\hbxbp

C:\hmg.3.4.4\HARBOUR\contrib\hbxbp>..\..\..\build hbxbp.hbp

but get Error when get to

xbp.qrc

hbpdbstruct
.ui
hbpfetchdate
.ui
hbptables
.ui

$hb_pkg_install
.hbm

C:\hmg.3.4.4\HARBOUR\contrib\hbxbp>..\..\..\build hbxbp.hbp
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
xbp.qrc(1) Error E0030  Syntax error "syntax error at '<'"
xbp.qrc(2) Error E0030  Syntax error "syntax error at '<'"
...
xbp.qrc(101) Error E0030  Syntax error "syntax error at '<'"
101 errors

i have not work with QRC Extension so i need some help please to understand .

greetings
Jimmy

Auge & Ohr

unread,
Oct 15, 2020, 7:55:59 PM10/15/20
to QtContribs
hi,

i have understand that i have to install QtContribs_Mingw-XXX_Setup.
so i have 4 x Environment for Cl*pper, Xbase++, MiniGUI, QT

Question : how to "switch" between Environment ?

i have to "move" SET INCLUDE of active Environment "to front" else it take it from Cl*pper or Xbase++

---

but which Version to install ?

as i "only" want to use \hbxbp what do i need from QT ?
old Sample include these LIB

c:\hmg.3.4.4\lib\libhbqtdesigner.a
c
:\hmg.3.4.4\lib\libhbqtwebkit.a
c
:\hmg.3.4.4\lib\libhbqtsql.a
c
:\hmg.3.4.4\lib\libhbqtgui.a
c
:\hmg.3.4.4\lib\libhbqtnetwork.a
c
:\hmg.3.4.4\lib\libhbqtcore.a
c
:\hmg.3.4.4\lib\libQtGui4.a
c
:\hmg.3.4.4\lib\libQtSql4.a
c
:\hmg.3.4.4\lib\libQtNetwork4.a
c
:\hmg.3.4.4\lib\libQtCore4.a



and these DLL

C
:\hmg.3.4.4\HARBOUR\bin\QtCore4.dll
C
:\hmg.3.4.4\HARBOUR\bin\QtGui4.dll
C
:\hmg.3.4.4\HARBOUR\bin\QtSql4.dll
C
:\hmg.3.4.4\HARBOUR\bin\QtNetwork4.dll



Auge & Ohr

unread,
Oct 15, 2020, 8:36:45 PM10/15/20
to QtContribs
have installed QtContribs_Mingw-492_Qt-550_r417_Setup and try to run e:\hb32\addons\hbxbp\tests\wvtqt.hbp

QT_hbxpb.JPG


but EXE was generate so i try to start it. but again a Error Message

QT_no_Windows.jpg


have no Idea what it tell me.
how to get \hbxbp\test Sample running ?

sorry for Newbie Question

Greetings
Jimmy


Auge & Ohr

unread,
Oct 15, 2020, 11:39:17 PM10/15/20
to QtContribs
hi,

hbmk2: Building sub-project (level 2): debug\hwgdebug.hbp
hbmk2: Creating static library... ..\lib\win\mingw\libhwgdebug.a
hbmk2: Building sub-project (level 2): hbqt\qtcore\hbqtcore.hbp
hbmk2: Building sub-project (level 3): hbqt\qtcore\hbqtcores.hbp
hbmk2[hbqtcore]: plugin: HB_WITH_QT, HB_QTPATH, HB_QTPOSTFIX not set, could not
                 autodetect 'moc.exe' executable

what is "moc.exe" ?
i do not find it on my PC using Everything

Claudia Neumann

unread,
Oct 16, 2020, 3:21:19 AM10/16/20
to qtcon...@googlegroups.com, Auge & Ohr
Hi Auge&Ohr,

we know each other from Alaska Meeting in Berlin some years ago. I tried to
port Alaska xbase++ to Harbour: no chance.

some explanations with qtcontribs:

Harbour is plain Clipper, Alaska xbase++ uses Windows GUI, hbxbp supports some
xbase++ functions for use with Harbour, but only limited support of Windows
GUI. Qtcontribs uses QT for GUI. Translation of Alaska xbase++ GUI commands to
QT commands will fail. They are not identical or even similar.

If you want to port your application from Alaska xbase++ to Harbour QT you
will have to program your GUI from the beginning. But you can do that. It will
not look identical but it will do.

I can't help you with installation of QT and qtcontribs on Windows, because I
left Windows a few years ago and am programming on Linux only. On Linux I am
used to compile compilers on my own and I succeeded to compile Harbour and
qtcontribs on Debian 10 with QT 5.11.3.

HTH

Claudia
> --
> You received this message because you are subscribed to the Google Groups
> "QtContribs" group. To unsubscribe from this group and stop receiving
> emails from it, send an email to qtcontribs+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtcontribs/066799c4-9183-42a0-8409-a5a4a1
> 26bec4o%40googlegroups.com.


KennyOoi

unread,
Oct 16, 2020, 8:07:42 AM10/16/20
to QtContribs
Hi Auge&Ohr, 

the moc.exe is inside qt-installed\bin folder ,
have u install qt on your pc ?

Pritpal Bedi

unread,
Oct 16, 2020, 10:06:37 AM10/16/20
to QtContribs
Hi 

some years ago. I tried to
port Alaska xbase++ to Harbour: no chance. 


In early years of development of HbQt I tried my level best to port Xbase++ code to Harbour+Qt, succeeded to some extent, but...

I asked, repeatedly, to Xbase++ developers to join this effort but none participated. Since I had left Xbase++ development years before so had no clue how to proceed further. Alaska also banned my posts on their news group. Due to lack of initiative I suspended development of HbXbp library in HbQt. You can clearly outline my interest, from my efforts and posts, about my passion for Xbase++ dialect and command set to bring in Harbour. Even HbIDE is based on XBase++ event loop. Harbour developers also resisted this move and forced me to concentrate on direct usage of Qt without HbXbp dependancy. Now it is thing of the past. 

Well, HbQt is a powerful, multiplatform including mobile, production ready GUI frontend one can consume to reach to higher levels, staying with the same language we all loved since our youth, CLIPPER.

Auge & Ohr

unread,
Oct 16, 2020, 12:37:15 PM10/16/20
to QtContribs
hi

Thx for Answer.

i´m working since 1 year with harbour v3.x and MiniGUI Contribution and begin to understand how it work.

it is true that Xbase++ User are not willing "to learn" how to use harbour.
Xbase++ User need it "ready to play" for which they pay every year.

---

i´m willing to learn and now it is time to try hbxbp again (have try it at Start but don´t understand.)
my Problem is that my Environment is seems not complete. where can i find which SET XXX= is need for a *.BAT

i have install QtContribs_Mingw-492_Qt-550_r417_Setup.
but when try Sample i got Error "missing MOC.EXE" which is not in that Contribution. so i can´t rebuild Libhbxbp.a

---

when start Demo it build EXE but crash with "Event Processes" Error. same i had with older hbxbp.
but IDE itself is written with hbxbp, or ? so it does work, or ?

i know that i´m 10 years behind.
after 2009 i begin to learn about Windows Controls an wrote my own native Control using Ot4xb for Xbase++

that why it was easy to jump into harbour MiniGUI as they use those Windows API which i know.
but it have take over 1 Month to get "right Environment" e.g. put SET INCLUDE of MiniGUI "in Front" of Xbase++

Question : is there a Help file "QT for Beginner" ?

there is Folder \doc\ but how to read *.HBD File ?

---

i know that QT is total Different but i like to make next Step.
please give me a Chance and point me to a "working" Version of DemoXbp

i want to try if i can begin with QT Contribution or have to learn more ( MiniGUI Extended Version )

as i say i have found hbxbp Code in OOHG (OOP Version of MiniGUI) which was using QT4
i like to skip OOHG and use Xbase++ Syntax again what i have used last 20 years.

need help please

greetings Jimmy

p.s. if someone like a NC-Clone have a look here
https://github.com/AugeOhr/HBFM

Auge & Ohr

unread,
Oct 16, 2020, 11:07:47 PM10/16/20
to QtContribs
hi,

i have uninstall QT 5 and install older Version with QT 4
than i compare "my" DEMOXBP.PRG with Version include in QT 4

QT4Menu.jpg


Source is different and QT4 Version show Menu (red lines)

p.s. my Version was from harbour "night-build"

---

i try to load Project into QT4 IDE and press Build -> Error !!!

QT4_IDE_Error.JPG


than i try it with MiniGUI and that WORK (include Menu)

so i will try it with older QT Contribution where i "only" need hbxbp
all other what i need can use HMG Code which Environment Structure which i understand now

---

as i say as Newbie : it is a paint to make 1 step when Environment is wrong
i have try both QT Setup Version and fail to compile / link run Demoxbp.EXE

i know Code is working when use HMG Environment so something in Setup does not create right QT 4 / 5 Environment.
i might be that in my existing Environment make trouble like
HB_PATH=c:\harbour

i have put SET INCLUDE and SET LIB of QT 4 / 5 "to front"

---

i like to work in CMD Box and *.BAT Files to set Environment.
this Way i can use Cl*pper (no more), Xbase++, MiniGUI to start compile / link in right Environment

Question : does somebody have *.BAT files for OT 4 / 5 Contribution which i can try tu use ?

greetings
Jimmy

KennyOoi

unread,
Oct 17, 2020, 12:40:35 AM10/17/20
to QtContribs

Auge & Ohr ,,

here is my bat file setting

 echo set path=%path%> stdpath.bat
echo set lib=%lib%>> stdpath.bat
echo set bin=%bin%>> stdpath.bat
echo set obj=%obj%>> stdpath.bat
echo set include=%include%>> stdpath.bat
echo set harbourcmd=%harbourcmd%>> stdpath.bat
echo rem %dp0>> stdpath.bat
echo rem %0>> stdpath.bat

SET HB_COMPILER=mingw

set HB_WITH_OPENSSL=D:\hb\contrib_lib\OpenSSL102f\include
set HB_WITH_OPENSSL=D:\hb\contrib_lib\OpenSSL102x32\include

set HB_BUILD_ADDONS=%~dp0Harbour\addons\qtcontribs.hbp
set HB_BUILD_3RDEXT=yes

set qthome=D:\Qt\Qt5.5.0\5.5\mingw492_32

set HB_WITH_QT=%qthome%\include
rem set HB_WITH_QT=F:\temp\Marinas-0505\harbour\addons\hbqt
set HB_QTPATH=%qthome%\bin
SET QTPLAT=%QTHOME%\plugins\platforms
set HB_QTPOSTFIX=
SET QTCONTRIBS_REBUILD=Yes

SET PATH=%QTHOME%\bin;%QTHOME%;%QTPLAT%;%~dp0bin;%PATH%
SET HB_QT_MAJOR_VER=5

set harbourcmd=/m /n /q /l
goto end

cd harbour\addons
rem hbmk2 qtcontribs 1>err.txt 2>&1
rem hbmk2 qtcontribs57 -rebuildall 1>err.txt 2>&1
rem start notepad err.txt

:end

Auge & Ohr

unread,
Oct 17, 2020, 6:44:52 PM10/17/20
to QtContribs
thx, i will study it
.
---

have try to run Xbase++ Sample Imgview.PRG but fail.

when look into \hbxbp\dataref.PRG i saw this

METHOD DataRef:getData()
   LOCAL cClass
:= __ObjGetClsName( self )

   DO CASE
   CASE
::isDerivedFrom( "XBPMLE" )
     
::sl_editBuffer := ::oWidget:toPlainText()
   CASE
::isDerivedFrom( "XBPSLE" )
     
::sl_editBuffer := ::oWidget:text()
   CASE cClass $
"XBPCOMBOBOX"
     
//::sl_editBuffer := ::oWidget:itemText()
   CASE cClass
== "XBPRADIOBUTTON"
     
::sl_editBuffer := ::oWidget:isChecked()
   CASE cClass
== "XBPSCROLLBAR"
     
::sl_editBuffer := ::oWidget:value()
   CASE cClass
== "XBPSPINBUTTON"
     
::sl_editBuffer := ::oWidget:value()
   CASE cClass
== "XBPLISTBOX"

   ENDCASE

   IF HB_ISBLOCK
( ::dataLink )
     
eval( ::dataLink, ::sl_editBuffer )
   ENDIF

RETURN
::sl_editBuffer

Treeview does INHERIT XbpWindow, DataRef but in Dataref is nothing to handle GetData()

what about Listbox as there are no code ?
i saw it have METHOD getItem() /  getItemIndex() / getCurItem() but no GetData() handling.

i understand that hbxbp ist "old Stuff" but for me it is just my Level.

greetings
Jimmy

Pritpal Bedi

unread,
Oct 17, 2020, 9:12:17 PM10/17/20
to QtContribs
Hi Jimmy

 
Treeview does INHERIT XbpWindow, DataRef but in Dataref is nothing to handle GetData()

what about Listbox as there are no code ?
i saw it have METHOD getItem() /  getItemIndex() / getCurItem() but no GetData() handling.

i understand that hbxbp ist "old Stuff" but for me it is just my Level.


Then explore and fix. There i snobody on this group who knows about Xbase++ except me and sorry, I am not inclined to persue Xbase++ development in HbXbp(). But, yah, I am available to push any changes someone forwards to me and which, in my opinion, are HbXbp grade to commit. You should have jumped-in years before.

Auge & Ohr

unread,
Oct 18, 2020, 10:07:40 PM10/18/20
to QtContribs
hi Pritpal,

i understand that you are working on much higher Level.
hbxbp is just my Level.

i would LOVE to work with hbxbp.
but i need a working QT harbour Environment ...

greetings
Jimmy

Auge & Ohr

unread,
Oct 18, 2020, 10:08:54 PM10/18/20
to QtContribs
hi,

i "think" QtContribs_Mingw-XXX_Setup is need "ready" harbour Environment so it is not complete for beginner.
\BIN Folder does not contain harbour.EXE so "how to" ?

1.) copy all harbour \BIN Files to QT
2.) copy QT \BIN to harbour

can someone please post a working Directory Structure, thx

Auge & Ohr

unread,
Oct 20, 2020, 12:12:48 AM10/20/20
to QtContribs
hi,

have install again under virtualBox

harbour-nightly-win.exe into default C:\HB32
QtContribs_Mingw-492_Qt-550_r417_Setup.exe into same C:\HB32

add as 1st in Path
c:\hb32\bin

and

INCLUDE=c:\hb32\include;
LIB
=c:\hb32\lib;c:\hb32\lib\win\mingw\;

---

after this i start IDE and load hbDBU.
this Time IDE does not crash but there are still Error
rcc 5.5.0
[20632.561] hbmk2: plugin: Using QT 'rcc.exe' executable: C:\hb32\bin\..\bin\rcc.exe (autodetected)
[20632.561] uic 5.5.0
[20632.561] hbmk2: plugin: Using QT 'uic.exe' executable: C:\hb32\bin\..\bin\uic.exe (autodetected)
[20632.561] hbmk2: plugin: 'rcc' command:
[20632.561] C:\hb32\bin\..\bin\rcc.exe -binary C:/hb32/addons/hbdbu/dbu.qrc -o C:/hb32/addons/hbdbu/.hbmk/win/mingw/hbdbu/rcc_dbu.qrb
[20632.561]
[20632.610] RCC: Error in 'C:/hb32/addons/hbdbu/dbu.qrc': Cannot find file 'resources/hbdbu.htm'
[20632.610] hbmk2[hbdbu]: plugin: Error: Running 'rcc' executable. 1
[20632.610] C:\hb32\bin\..\bin\rcc.exe -binary C:/hb32/addons/hbdbu/dbu.qrc -o C:/hb32/addons/hbdbu/.hbmk/win/mingw/hbdbu/rcc_dbu.qrb
[20632.610] hbmk2: plugin: 'uic' command:
[20632.610] C:\hb32\bin\..\bin\uic.exe C:/hb32/addons/hbdbu/dbu.ui -o C:/Temp/vzpdec
[20632.617]
[20632.651] hbmk2: Plugin C:\hb32\addons\hbqt\hbmk2_qt.hb returned at 'pre_prg': 'error'

there is no "hbdbu.htm" and no "pre_prg" under C:\HB32

-

next try with hbxbp / wvgQT

it seems me to compile / Link without Error but it does not start

QT_no_Windows.jpg

Build.log as Attachment

so what do i still miss ? please help

wvgqt_no_win.zip

Auge & Ohr

unread,
Oct 28, 2020, 11:53:36 PM10/28/20
to QtContribs
hi,

have try to download QT ... but my virtual Harddisk was to small to receive 59 GB (!)

so i like to ask how to reduce it while i "just" need it to rebuild hbXBP when enhance Code on xBase "Wrapper" Side

in QT Tutorial http://www.elektrosoft.it/tutorials/hbqt/hbqt.asp i found how to work with QT but not what is need to rebuild hbXBP.

please help

Pritpal Bedi

unread,
Oct 29, 2020, 12:31:47 AM10/29/20
to QtContribs
Hi

From where you are trying to download Qt ? It must not be more than few gb. 

HbXBP is a small part of HbQt. Everything is compiled in unison. HbXBP needs full fledged Qt. So you need to understand how to build HbQt. Read this newsgroup thoroughly. You will get insight how to. 

Auge & Ohr

unread,
Oct 29, 2020, 12:45:25 PM10/29/20
to QtContribs
hi,

From where you are trying to download Qt ? It must not be more than few gb.

i have ask "where" i get QT but no Answer so i download from https://www.qt.io/download

 
HbXBP is a small part of HbQt. Everything is compiled in unison. HbXBP needs full fledged Qt. So you need to understand how to build HbQt. Read this newsgroup thoroughly. You will get insight how to. 

OK ... but what about hbXBP-"Lite" Version ?
i´m afraid that Xbase++ User, which are not on that level, will fail when got hole QtContribs.

Auge & Ohr

unread,
Oct 31, 2020, 12:07:47 AM10/31/20
to QtContribs
hi Pritpal,

what do you think about a new Control for hbXBP

#include hbClass.ch"
CLASS XbpProgressBar FROM XbpIWindow, DataRef
 PROTECTED:
   VAR            nMinimum
   VAR            nMaximum
   VAR            nValue
   VAR            nStyles
   VAR            nState
   VAR            nOrientation
   VAR            nIncrement
   VAR            lBorder
   VAR            nMarqueeSpeed
   VAR            nWindowProc
   VAR            lDesignMode

   METHOD         CreateControl()
   METHOD         SetControlStyles()

 EXPORTED:
   ACCESS METHOD  GetState()        VAR State
   ASSIGN METHOD  SetState()        VAR State
   ACCESS METHOD  GetMinimum()      VAR Minimum
   ASSIGN METHOD  SetMinimum()      VAR Minimum
   ACCESS METHOD  GetMaximum()      VAR Maximum
   ASSIGN METHOD  SetMaximum()      VAR Maximum
   ACCESS METHOD  GetOrientation()  VAR Orientation
   ASSIGN METHOD  SetOrientation()  VAR Orientation
   ACCESS METHOD  GetStyle()        VAR Style
   ASSIGN METHOD  SetStyle()        VAR Style
   ACCESS METHOD  GetBorder()       VAR Border
   ASSIGN METHOD  SetBorder()       VAR Border
   ACCESS METHOD  GetMarqueeSpeed() VAR MarqueeSpeed
   ASSIGN METHOD  SetMarqueeSpeed() VAR MarqueeSpeed
   ACCESS METHOD  GetIncrement()    VAR Increment
   ASSIGN METHOD  SetIncrement()    VAR Increment

   METHOD         StepIt()

   METHOD         Init()
   METHOD         Create()
   METHOD         Configure()

   METHOD         SetColorFG()
   METHOD         SetColorBG()
   METHOD         SetPresParam()

   METHOD         Paint()

   ASSIGN METHOD  SetData()         VAR Value
   ACCESS METHOD  EditBuffer()      VAR Value

   METHOD         HandleEvent()

ENDCLASS


can you help me with harbour Syntax, i will try to "fill" Method with QT-Code.
i know i can use xbp,ch to "translate" Syntax but not aware of ASSIGN / ACCESS Methode under harbour (yet)

thx for help
Jimmy

Auge & Ohr

unread,
Nov 12, 2020, 1:52:32 AM11/12/20
to QtContribs
hi,

have try to build new LibHbXBP.a

e:\hb32\addons>..\bin\hbmk2.exe hbxbp.hbp

#

-hblib
-inc

-o${hb_name}

-w3 -es2

-prgflag=-D_HB_TR_NOALWAYS_

../hbqt/hbqtcore.hbc
../hbqt/hbqtgui.hbc

-instfile=inc:appevent.ch
-instfile=inc:gra.ch
-instfile=inc:xbp.ch
-instfile=inc:xbpdev.ch
-instfile=inc:hbxbp.hbx

hbxbp
.hbx

hbpprocess
.prg
xbp3state
.prg
xbpappevent
.prg
xbpbitmap
.prg
xbpbrowse
.prg
xbpcheckbox
.prg
xbpclipboard
.prg
xbpcombobox
.prg
xbpcrt
.prg
xbpdataref
.prg
xbpdialog
.prg
xbpfiledialog
.prg
xbpfontdialog
.prg
xbpgeneric
.prg
xbpgra
.prg
xbphtmlviewer
.prg
xbplistbox
.prg
xbpmenubar
.prg
xbpmle
.prg
xbpparthandler
.prg
xbppresspace
.prg
xbpprintdialog
.prg
xbpprinter
.prg
xbppushbutton
.prg
xbpradiobutton
.prg
xbprtf
.prg
xbpscrollbar
.prg
xbpsle
.prg
xbpspinbutton
.prg
xbpstatic
.prg
xbpstatusbar
.prg
xbpstyle
.prg
xbptabpage
.prg
xbptoolbar
.prg
xbptreeview
.prg
xbpwindow
.prg

when try to build e:\hb32\addons\hbxbp\tests\demoxbp.HBP

i got a a missing "hbqt_promotWidget"

METHOD XbpBrowse:manageCommitData( qWidget )
   LOCAL cTxt    
:= hbqt_promotWidget( qWidget, "QLineEdit" ):text()

my LibHbXBP.a is only 621 Kb while Original is 911 Kb so what do i miss ?

need some help please.
greetings Jimmy

Alex Strickland

unread,
Nov 12, 2020, 2:47:49 AM11/12/20
to qtcon...@googlegroups.com
Hi

I know nothing about this but hbqt_promotWidget is way more likely to be
hbqt_promoteWidget?
--
Regards
Alex
>    LOCAL cTxt :=hbqt_promotWidget(qWidget,"QLineEdit"):text()
> |
>
> my LibHbXBP.a is only 621 Kb while Original is 911 Kb so what do i miss ?
>
> need some help please.
> greetings Jimmy
>
> --
> You received this message because you are subscribed to the Google
> Groups "QtContribs" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qtcontribs+...@googlegroups.com
> <mailto:qtcontribs+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtcontribs/4bfa2097-b3a4-4ec4-a8f0-e22fb7790982o%40googlegroups.com
> <https://groups.google.com/d/msgid/qtcontribs/4bfa2097-b3a4-4ec4-a8f0-e22fb7790982o%40googlegroups.com?utm_medium=email&utm_source=footer>.

Auge & Ohr

unread,
Nov 12, 2020, 1:47:01 PM11/12/20
to QtContribs
hi,

thx for Answer,

i have try it but got same Warning

hbmk2: Error: Referenced, missing, but unknown function(s):
       HBQT_PROMOTEWIDGET()

where can i find a Reference of HBQT Function ?

greetings by OHR
Jimmy

Luigi Ferraris

unread,
Nov 12, 2020, 1:54:21 PM11/12/20
to QtContribs
AFAIK hbqt_promoteWidget doesn't exist.
Best regards
Luigi

--
You received this message because you are subscribed to the Google Groups "QtContribs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtcontribs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtcontribs/c64a8b54-15c6-4d66-b004-9e0de54a9e92o%40googlegroups.com.


--
Luigi Ferraris
www.l3w.it

Auge & Ohr

unread,
Nov 12, 2020, 6:39:50 PM11/12/20
to QtContribs
> AFAIK hbqt_promoteWidget doesn't exist.

hbqt_promoteWidget seems have to do with QtDesigner
it is in f:\Qt\5.15.1\mingw81_32\lib\libQt5Designer.a but not in e:\hb32\lib\win\mingw\libhbqtdesigner.a

but it is in my Source of \hbXBP\XbpBrowse.PRG ...

ok seem to be
   LOCAL cTxt    := qWidget:property( "text" ):toString()
Reply all
Reply to author
Forward
0 new messages