Good day to all!
My project uses Qt-4.2.3 (QT GUI TOOLKIT) and c++ compiler MinGW-5.1.3.
I have a problem with integration of .h and .cpp files. I've already copied the .h files (binary.h color.h filter.h image.h jconfig.h jerror.h jmorecfg.h jpegio.h jpeglib.h util.h) and the corresponding .cpp files (binary.cpp color.cpp filter.cpp jpegio.cpp) and copied libjpeg.a and libjpeg.win. And included all of these in my qt project file (IADFUQ.pro). When I compile all files these are the errors I get. All errors are from "jpegio.cpp" only: See attached image's console (I'm having trouble including the error in this post because it says there are too many images and smilies)
This is the screenshot
Here is my project file (.pro).
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += binary.h \
color.h \
filter.h \
iadfuqgraphicsview.h \
image.h \
jconfig.h \
jerror.h \
jmorecfg.h \
jpegio.h \
jpeglib.h \
mainwindow.h \
util.h \
ui_mainwindow.h
FORMS += mainwindow.ui
SOURCES += binary.cpp \
color.cpp \
filter.cpp \
iadfuqgraphicsview.cpp \
jpegio.cpp \
main.cpp \
mainwindow.cpp
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += binary.h \
color.h \
filter.h \
iadfuqgraphicsview.h \
image.h \
jconfig.h \
jerror.h \
jmorecfg.h \
jpegio.h \
jpeglib.h \
mainwindow.h \
util.h \
ui_mainwindow.h
FORMS += mainwindow.ui
SOURCES += binary.cpp \
color.cpp \
filter.cpp \
iadfuqgraphicsview.cpp \
jpegio.cpp \
main.cpp \
mainwindow.cpp
To copy to clipboard, switch view to plain text mode
how to solve this... ? ...
Bookmarks