compiling error QtRptDesigner:
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DVERSION=\"1.5.4\" -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtNetwork -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtSql -I../../../../include/qt4/QtScript -I../../../../include/qt4 -I../CommonFiles -I../CommonFiles -I../zint-2.4.4/backend_qt4 -I../zint-2.4.4/backend -I../QtRPT -ISQLDiagram -I. -I. -o qtrpt.o ../QtRPT/qtrpt.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DVERSION=\"1.5.4\" -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtNetwork -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtSql -I../../../../include/qt4/QtScript -I../../../../include/qt4 -I../CommonFiles -I../CommonFiles -I../zint-2.4.4/backend_qt4 -I../zint-2.4.4/backend -I../QtRPT -ISQLDiagram -I. -I. -o RptSql.o ../QtRPT/RptSql.cpp
In file included from ../QtRPT/RptSql.cpp:24:0:
../QtRPT/RptSql.h:38:5: error: ‘QImage’ does not name a type
../QtRPT/RptSql.cpp:91:58: error: no ‘QImage RptSql::getFieldImage(QString, int)’ member function declared in class ‘RptSql’
Solution proved by me:
add the to line 39:
I see this problem under Qt4 ? As under Qt5 I have not any problem...
Fixed
Last edit: aliks-os 2015-10-20