"read" QR Code

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
tonton2
Posts: 484
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: "read" QR Code

Post by tonton2 »

AUGE_OHR wrote: Thu Apr 02, 2026 3:02 pm hi,
tonton2 wrote: Wed Apr 01, 2026 9:30 pm
! Note : Read qrcode using Zbar utility https://zbar.sourceforge.net/

after install Zbar you need to COPY
c:\Program Files\ZBar\bin\zbarimg.exe
and all *.DLL into your App Folder
Good evening, could you please show me all the installation steps? Thank you very much
sorry, i never have made a Installation, just READ about it
Merci
L'Algerie vous salut
Y.TABET
WatsApp :+213770943143
User avatar
tonton2
Posts: 484
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: "read" QR Code

Post by tonton2 »

serge_girard wrote: Thu Apr 02, 2026 2:48 pm Youcef, non je regrette mais DaNiElMaXiMiLiAnO s'en occupe. Il faut 'lire' le QRcode avec portable au tablet avec application APK et rendre le code/text du QR-code....

Aucun idee comment faire.

Serge
merci mon ami
L'Algerie vous salut
Y.TABET
WatsApp :+213770943143
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: "read" QR Code

Post by AUGE_OHR »

hi, i use this QR-Code READER.

the File is 60 MB, and i got a Error Message : "File too large: QRCODE_READER.ZIP" !!! (max 25 MB )
so i strip out these Files
C2QRCodeDesktopReaderGeneratorSetup.zip
(4.11 MiB) Downloaded 18 times
zbar-0.10-setup.zip
(3.03 MiB) Downloaded 23 times
i don´t know if "JSignPdf_setup_1.6.5_wjre.exe" also is need, it was i the ZIP File ( < 52 MB)
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: "read" QR Code

Post by danielmaximiliano »

Hola : despues de luchar y aprender sobre QR llegue a la meta :D

sin depender de algun ejectuble externo ya tenemos libreria propia :P
[/quote]
Last edited by danielmaximiliano on Fri Apr 03, 2026 2:23 pm, edited 3 times in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: "read" QR Code

Post by danielmaximiliano »

Hola a todos :
Hice unas mejoras esteticas , espero les guste :D
Last edited by danielmaximiliano on Fri Apr 03, 2026 2:23 pm, edited 2 times in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
tonton2
Posts: 484
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: "read" QR Code

Post by tonton2 »

Je vous remercie beaucoup de votre aide
Thank you very much for your help.
L'Algerie vous salut
Y.TABET
WatsApp :+213770943143
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: "read" QR Code

Post by AUGE_OHR »

hi @danielmaximiliano ,

how to use your File "BarcodeQR.rar" ?

i try to use it with IDE, while DBLCLICK on Zbar.hbp , but than i got a lot Error
than i try it using "build.bat Zbar.hbp" but still get Error :
"Wrapper.Prg:9:23: fatal error: stb_image.h: No such file or directory"

What i´m doing wrong ?
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: "read" QR Code

Post by danielmaximiliano »

AUGE_OHR wrote: Thu Apr 02, 2026 8:51 pm What i´m doing wrong ?
Hola Jimmy : no puedo reproducir su error en mi PC, pero hice una prueba de copiar el contenido de la carpeta a otro lugar "c:\Temp\zbar" y desde el IDE de hmg.3.6 abrirlo y compilar en 64bits con el resultado de compilacion exitosa :roll: dejo captura
Captura de pantalla 2026-04-02 182046.png
Captura de pantalla 2026-04-02 182046.png (113.01 KiB) Viewed 564 times
puede ud. subir el contenido de error.log ?

"C:\Temp\Zbar\include\stb_image.h" <--- Header
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: "read" QR Code

Post by AUGE_OHR »

hi,

Thx for Answer.
perhaps it is a Problem using v3.5 ?

i still get these Error Message
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x18090): undefined reference to `zbar_version'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x180d4): undefined reference to `zbar_image_scanner_create'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x180e0): undefined reference to `zbar_image_scanner_destroy'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x1823e): undefined reference to `zbar_image_scanner_create'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x1825b): undefined reference to `zbar_image_scanner_set_config'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x18260): undefined reference to `zbar_image_create'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x18273): undefined reference to `zbar_image_set_format'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x1828b): undefined reference to `zbar_image_set_size'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182ac): undefined reference to `zbar_image_set_data'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182b8): undefined reference to `zbar_scan_image'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182c0): undefined reference to `zbar_image_first_symbol'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182cc): undefined reference to `zbar_symbol_get_data'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182dc): undefined reference to `zbar_image_destroy'
c:/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: .hbmk/win/mingw/Wrapper.o:Wrapper.c:(.text+0x182e4): undefined reference to `zbar_image_scanner_destroy'
do i need to copy Directory QR_READER\include\ and QR_READER\Lib\ to Main \LIB and \INCLUDE ?
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: "read" QR Code

Post by danielmaximiliano »

AUGE_OHR wrote: Fri Apr 03, 2026 10:19 am hi,

Thx for Answer.
perhaps it is a Problem using v3.5 ?

i still get these Error Message

do i need to copy Directory QR_READER\include\ and QR_READER\Lib\ to Main \LIB and \INCLUDE ?
Hi Jimmy: I've never quite understood Harbour's strictness. I've always worked in other languages ​​without problems, using IDEs like VFP and Lazarus, where you have a folder structure and place the essential files there. In this case, \Include and \Lib, and within the HMG IDE, add the compilation directives in the project browser, under the "Settings" tab, as follows:

Code: Select all

libpaths=.\Lib
incpaths=.\Include
libs=zbar
libs=iconv
Libpaths: I specify where the third-party libraries are located.
Incpaths: I specify where the third-party header files are located.
In the command line, they can be added as if they were necessary files for all projects; simply copy them to the \inc and \lib folders of hmg or harbour. Years ago, I had this same problem compiling hbtip or hbcurl.

An .hbp file can also contain this

Code: Select all

# --- Nombre del ejecutable final ---
-oZbarScan.exe

# --- Carpetas de inclusión (Archivos .ch o .h) ---
-i=.\include
-i=C:\ZBar\include

# --- Carpetas de librerías (.lib) ---
-L=C:\ZBar\lib

# --- Librerías específicas a enlazar ---
-lzbar
-lhbct

# --- Archivos fuentes del proyecto ---
source\Principal.prg
source\Wrapper.prg
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Post Reply