Problem itegrating Ncreport to my application
-
Then there's your problem, you are trying to link a library built with VisualStudio while using mingw. The name of the installers from the download section of NCReport is pretty clear.
-
yeah i have downloaded all versions
@application/octet-stream NCReport2.10.0_Windows_x86_VS2010_Qt5.1.0_Evaluation.exe (18.0 MB)
application/octet-stream NCReport2.10.0_Windows_x86_VS2010_Qt4.8.5_Evaluation.exe (10.6 MB)
application/octet-stream NCReport2.10.0_Windows_x86_MinGW_Qt4.8.5_Evaluation.exe (14.1 MB)@
i have used the last one but not working for me also
i'm using Qt 5.1.0
plz help me i'm completely lost
-
You can't use a library built with Qt 4 if you are using Qt 5 and also AFAIK, you can't link a c++ library from visual studio using mingw. So you have two options:
Change your Qt version and compiler for Visual Studio
Ask the NCReport developer to release a Qt 5 mingw version
-
Okay,
is there any other solution , other way for printing report or other library
or whatever ?
-
You can also just install Qt 4 (unless your application use Qt 5 specific elements)
-
But my projet is based in Qt5 , so it is incompatible with Qt 4
-
What specific part of Qt 5 are you using that is not in Qt 4 ?
As I said, you can also contact the NCReport developer to ask if they plan to deliver a MinGW Qt 5 release.
-
i have checked that is paid library, so i can't contact the developer to give me a compatible library
you know, another library or way to print reports ??
-
And what forbids you to ask them for an evaluation version with MinGW ? Worst case the answer would be no
-
[quote author="SGaist" date="1378203768"]And what forbids you to ask them for an evaluation version with MinGW ? Worst case the answer would be no[/quote]
Okay thank's
do you know other soulotion (other library ) or even other way to print reports ??
-
No I don't.
You can create the report yourself using i.e. HTML or the QTextDocument framework.
-
the support send me this email @Hi,
Qt5.1.1/MinGW is planned to upload soon.
regards,
We hope this response has sufficiently answered your questions.
If not, please do not send another email. Instead, reply to this email
or login to your account for a complete archive of all your support
request and responses.@so i must use another way , instead of waiting them to upload a compatible library
-
How i can print report using html , witch class i must use ??
-
"Very good book that contains what you need":http://qt-project.org/books/view/c_gui_programming_with_qt_4_2nd_edition_the_official_c_qt_book