Unsolved Error when compiling QtRpt in 32 bit MSVC2017?
-
@SGaist ,
Yes. Unfortunatelly in Turkish because of VS2019 I guess?...Unresolved External symbol... :(
Regards,
Mucip:) -
Which version of QtRpt ?
-
@SGaist ,
QtRpt 2.1.0 Newest one.
I think problem comes from QtZint and it may not be appropriate with 32 bit?But in anycase I should compile it both 32 and 64bit?
By the way system is Win10.
Regards,
Mucip:) -
QtZint ?
By the way, did you check the binary package ? It might already provide what you need.
-
@SGaist ,
I think I loose something but I dont know?As You said I put QtZint.dll from binary package to msvc2017/bin and msvc2017/lib directory.
But still error:
LINK : fatal error LNK1104: 'QtZint.lib' could not open!
Where should I copy QtZint.dll?
Regards,
Mucip:) -
@SGaist ,
No, I checked and couldn't find QtZint.lib for 32 bit unfortunatelly :(Regards,
Mucip:) -
Is the code accessible somewhere ? If so, then build it first and then continue with the rest.
-
@SGaist ,
I think problem is in the newest version. Because I tested older one and worked well both in MSVC2017_64 and MSVC2017_32.I'm tring to find solution from QtRpt sourceforge forum page. :(
Regards,
Mucip:) -
config.pri uncomment DEFINES += NO_BARCODE
-
@ahmed-yousri ,
I think also it's need to be add#include <QAction>
in ScriptEditor.cpp
But still same error... :(
I copied old QtZint and other thinks from old version. But still linker error. :(What is the problem of new QtRpt version?...
Regards,
Mucip:) -
@ahmed-yousri ,
By the way, I want to use barcode in my reports also.Regards,
Mucip:) -
Re: Error when compiling QtRpt in 32 bit MSVC2017?
Hello. I had the same error and solved it. (msvc2017 x64)
I don't know much about it, but I will write down what I think has helped me solve it.-
Put the QtRPT.dll and QtZint.dll in the path below
\ QtRptProject \ bin \ debug \ lib
\ QtRptProject \ bin \ release \ lib -
Put libQtRPT.a and libQtZint.a in the path below
\ QtRptProject \ bin \ debug \ lib \ lib
\ QtRptProject \ bin \ release \ lib \ lib -
Build the file in the path below
\ QtRptProject \ 3rdparty \ zint-2.4.4 \ Zint.pro
\ QtRptProject \ QtRPT \ QtRPT.pro
When built, QtRPT.lib and QtZint.lib are generated.
I hope it goes well.
-
-
@Park-Chongwon ,
Unfortunatelly I couldn't solve it on MSVC2017 32bit. Then I immigrated to LimeReport and I am very happy now.Regards,
Mucip:)